/* Base Styles & Variables */
:root {
  --primary: #1A1C40;
  --accent: #F9C80E;
  --background: #FAF9F6;
  --text-primary: #1E1E1E;
  --text-secondary: #6B7280;
  --gradient-start: #F9C80E;
  --gradient-end: #FF7F50;
  --border-radius: 2rem;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 5rem 0;
}

/* Add padding-top to sections with IDs to prevent header collision when navigating */
section[id] {
  padding-top: 7rem;
  margin-top: -2rem;
}

/* Add padding for policy pages to prevent header overlap */
.policy-page .section {
  padding-top: 7rem;
}

.policy-page h1 {
  padding-top: 2rem;
  margin-top: 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 10px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Grid & Flex */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Card Styles */
.card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(249, 200, 14, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(249, 200, 14, 0.4);
  color: var(--primary);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.logo {
  height: 60px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  text-align: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
  color: white;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.4s both;
  justify-content: center;
}

.hero-img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 50%;
  animation: floatAnimation 3s ease-in-out infinite alternate;
}

/* Services Section */
.services-card {
  text-align: center;
  padding: 3rem 2rem;
}

.services-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.services-card h3 {
  margin-bottom: 1rem;
}

.services-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

/* Testimonials */
.testimonial {
  padding: 3rem;
  position: relative;
}

.testimonial::before {
  content: """;
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author-info h4 {
  margin-bottom: 0.25rem;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 200, 14, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
  margin-right: 0.7rem;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer a {
  color: #ddd;
}

.footer a:hover {
  color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  z-index: 999;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
  opacity: 1;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}

/* Thank you page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 80px);
  padding: 2rem 0;
  margin-top: 80px;
}

.thank-you .fa-check-circle {
  font-size: 6rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.thank-you .btn {
  margin-top: 2rem;
}

/* Section Images */
.approach-img,
.services-img {
  text-align: center;
  margin-bottom: 3rem;
}

.section-img {
  max-width: 50%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-img {
    position: relative;
    max-width: 100%;
    margin-top: 2rem;
    right: auto;
    bottom: auto;
  }
  
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    transition: height 0.3s ease;
  }
  
  .nav-links.active {
    height: calc(100vh - 80px);
    padding: 2rem 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer [class^="grid-"] {
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .testimonial {
    padding: 2rem 1rem;
  }
} 