/* Main Styles for Financial Audit Website */
:root {
  /* Color Palette */
  --gradient-start: #5639a3;
  --gradient-end: #fbc531;
  --accent-turquoise: #00cec9;
  --accent-coral: #ff7675;
  --bg-beige: #fdf6ec;
  --text-dark: #2d3436;
  --text-light: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-light: rgba(86, 57, 163, 0.3);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-beige);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

a {
  text-decoration: none;
  color: var(--gradient-start);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-coral);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-light);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--text-light);
}

.card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  margin: 15px 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
}

.logo:hover {
  color: var(--text-light);
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-turquoise);
}

/* Mobile Menu (PHP-powered) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 3px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(86, 57, 163, 0.8), rgba(251, 197, 49, 0.8));
  color: var(--text-light);
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Features/Advantages Section */
.features {
  background: linear-gradient(135deg, rgba(86, 57, 163, 0.1), rgba(251, 197, 49, 0.1));
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 30px;
}

/* Services */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-card {
  flex: 0 0 30%;
  margin-bottom: 30px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  color: var(--gradient-start);
  margin-bottom: 15px;
}

.service-card ul {
  margin-top: 15px;
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 5px;
}

/* Why Choose Us */
.why-choose-us {
  background: linear-gradient(135deg, rgba(86, 57, 163, 0.1), rgba(251, 197, 49, 0.1));
  padding: 80px 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-choose-item {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.why-choose-item:hover {
  transform: translateY(-5px);
}

.why-choose-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 30px;
}

/* Testimonials */
.testimonials {
  background-color: white;
}

.testimonial-card {
  padding: 30px;
  border-left: 5px solid var(--accent-turquoise);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

/* Contact Form */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
}

select.form-control {
  height: 46px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-top: 5px;
  margin-right: 10px;
}

/* Alert messages */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.alert-danger {
  background-color: #ffeeee;
  border: 1px solid #ff7675;
  color: #d63031;
}

.alert-success {
  background-color: #e0ffee;
  border: 1px solid #00b894;
  color: #007563;
}

/* FAQ Section */
.faq {
  background: linear-gradient(135deg, rgba(86, 57, 163, 0.1), rgba(251, 197, 49, 0.1));
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background-color: white;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  background-color: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-content {
  padding: 0 20px 20px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-link {
  display: block;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent-turquoise);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  margin-right: 20px;
}

/* Legal Pages */
.legal-container {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(86, 57, 163, 0.2);
}

.legal-container h1 {
  color: var(--gradient-start);
  margin-bottom: 30px;
  text-align: center;
}

.legal-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gradient-start);
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 0;
}

.thank-you h1 {
  color: var(--gradient-start);
  margin-bottom: 20px;
}

.thank-you-frame {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: white;
  border: 3px solid var(--gradient-start);
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  border-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) 1;
  /* Decorative elements */
  background-image: 
    linear-gradient(45deg, transparent 20px, white 20px),
    linear-gradient(135deg, transparent 20px, white 20px),
    linear-gradient(225deg, transparent 20px, white 20px),
    linear-gradient(315deg, transparent 20px, white 20px);
  background-position: top left, top right, bottom right, bottom left;
  background-size: 50% 50%;
  background-repeat: no-repeat;
}

.thank-you-frame:before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed var(--accent-coral);
  border-radius: 10px;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    flex: 0 0 100%;
  }
  
  .about-image {
    margin-top: 30px;
  }
  
  .service-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 20px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .service-card {
    flex: 0 0 100%;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .features-grid, .why-choose-grid {
    grid-template-columns: 1fr;
  }
} 