/* Main CSS for FinAudit South Africa */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #F7F3E9;
  color: #1F1F1F;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1F1F1F;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #008080;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #5A1E78;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #5A1E78;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #4a1860;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #F9A03F;
}

.btn-secondary:hover {
  background-color: #e8922c;
}

/* Header */
header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #5A1E78;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-image: url('../img/abgcEt.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 120px 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(90, 30, 120, 0.8), rgba(249, 160, 63, 0.8));
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.services-grid {
  display: flex;
  gap: 30px;
}

.service-card {
  flex: 1;
  background-color: #F7F3E9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: #5A1E78;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
  padding: 80px 0;
}

.stats-grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #5A1E78;
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.testimonial-grid {
  display: flex;
  gap: 30px;
}

.testimonial-card {
  flex: 1;
  padding: 30px;
  background-color: #F7F3E9;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: #5A1E78;
  opacity: 0.2;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #5A1E78;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  background-color: #5A1E78;
  color: #FFFFFF;
}

.cta-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.cta-text {
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta .btn {
  background-color: #F9A03F;
}

.cta .btn:hover {
  background-color: #e8922c;
}

/* Contact Form */
.contact-form {
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: #5A1E78;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Footer */
footer {
  background-color: #1F1F1F;
  color: #FFFFFF;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  margin-right: 30px;
}

.footer-column h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #FFFFFF;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1F1F1F;
  color: #FFFFFF;
  padding: 15px 0;
  z-index: 999;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  margin-right: 20px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .services-grid,
  .stats-grid,
  .testimonial-grid {
    flex-wrap: wrap;
  }
  
  .service-card,
  .stat-card,
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  
  .nav-menu {
    display: none;
  }
  
  .footer-content {
    flex-wrap: wrap;
  }
  
  .footer-column {
    flex: 0 0 calc(50% - 15px);
    margin-bottom: 30px;
  }
  
  .service-card,
  .stat-card,
  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .footer-column {
    flex: 0 0 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
} 