/* 
 * Main stylesheet for telorithanxa - Financial Audit company
 * Author: Claude
 */

/* === GLOBAL STYLES === */
:root {
  --bg-color: #121629;
  --accent-color: #ffb800;
  --heading-color: #ffffff;
  --text-color: #b0bac9;
  --btn-gradient-start: #ea526f;
  --btn-gradient-end: #ff9f1c;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}
div {
  word-break: break-word;
  overflow-wrap: break-word;
}
section[id] {
  scroll-margin-top: 80px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 10px;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

ul,
ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

/* Section styling */
.section {
  padding: 80px 0;
}

.section.bg-light {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--btn-gradient-start),
    var(--btn-gradient-end)
  );
  color: white;
  box-shadow: 0 4px 15px rgba(234, 82, 111, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 82, 111, 0.4);
  opacity: 1;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 2px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
}

.card-content h3 {
  color: var(--bg-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.card-content p {
  color: #555;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(18, 22, 41, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: var(--heading-color);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: lowercase;
}

/* Responsive navigation with checkbox hack */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 8px;
}

.menu-icon span:nth-child(3) {
  top: 16px;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  color: var(--heading-color);
  font-weight: 600;
  position: relative;
}

.nav-list a:hover {
  color: var(--accent-color);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(18, 22, 41, 0.8), rgba(18, 22, 41, 0.8)),
    url("img/5khuv.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ABOUT SECTION === */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

/* === PROCESS SECTION === */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--btn-gradient-start),
    var(--btn-gradient-end)
  );
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

/* === TESTIMONIALS SECTION === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  border-left: 3px solid var(--accent-color);
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  text-align: right;
}

/* === FAQ SECTION === */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--heading-color);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question {
  background-color: rgba(255, 184, 0, 0.1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-toggle:checked + .faq-question:after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.03);
  transition: max-height 0.3s ease;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 20px;
}

/* === CONTACT FORM === */
.form-container {
  max-width: 600px;
  margin: 40px auto 0;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  border: 2px solid var(--accent-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--heading-color);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  flex: 1;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

/* Style select element */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 9L0 3h12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px !important;
}

/* Style select options */
select option {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 10px;
}

/* === FOOTER === */
.footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  margin-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-color);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === LEGAL PAGES === */
.legal-page {
  padding: 120px 0 60px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--accent-color);
}

.legal-content h1 {
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.legal-content h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.legal-content a.btn {
  margin-top: 30px;
  display: inline-block;
}

/* === THANK YOU PAGE === */
.thank-you {
  padding: 120px 0 60px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  max-width: 700px;
  margin: 8rem auto 3rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 50px 30px;
  border-radius: 16px;
  border: 2px solid var(--accent-color);
}

.thank-you-content h1 {
  margin-bottom: 25px;
  font-size: 2.5rem;
}

.thank-you-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.thank-you-content .btn {
  margin-top: 30px;
}

/* === COOKIE CONSENT === */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(18, 22, 41, 0.95);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease;
  backdrop-filter: blur(10px);
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  /* Header responsive */
  .menu-icon {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(18, 22, 41, 0.98);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    clip-path: circle(0 at top right);
    transition: clip-path 0.5s ease;
  }

  .menu-toggle:checked ~ .nav {
    clip-path: circle(150% at top right);
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list li {
    margin: 15px 0;
  }

  .process-steps {
    flex-direction: column;
  }

  .step {
    margin-bottom: 20px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 30px 20px;
  }

  .thank-you-content {
    padding: 30px 20px;
  }
}
