/* 
  Color Palette:
  - Background: #0E1116 (deep graphite)
  - Accent: #FF6B6B (bright coral for buttons and icons)
  - Text: #F7F7F7 (smoky white)
  - Section background: #1F242A (dark with gradient)
  - Additional accent: #6EE7B7 (mint for decorative elements)
*/

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0E1116;
  color: #F7F7F7;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #F7F7F7;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF6B6B;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #FF6B6B;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background-color: #FF6B6B;
  color: #F7F7F7;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #FF6B6B;
}

.btn:hover {
  background-color: transparent;
  color: #FF6B6B;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1F242A;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-popup p {
  margin: 0;
  padding-right: 1rem;
}

.cookie-popup .btn {
  white-space: nowrap;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(14, 17, 22, 0.95);
  z-index: 100;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  font-weight: 600;
}

.main-nav a.active {
  color: #FF6B6B;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #F7F7F7;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1F242A 0%, #0E1116 100%);
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(110, 231, 183, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: #1F242A;
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(110, 231, 183, 0.2) 100%);
}

.about-text {
  flex: 1;
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: #0E1116;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #1F242A;
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: #FF6B6B;
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  height: 100%;
}

.service-image {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(110, 231, 183, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  background-color: #1F242A;
  position: relative;
}

.benefits::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-color: rgba(110, 231, 183, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background-color: #0E1116;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  fill: #FF6B6B;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: #0E1116;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-form {
  background-color: #1F242A;
  padding: 2.5rem;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #333;
  background-color: #0E1116;
  color: #F7F7F7;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #FF6B6B;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B6B' 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 1rem center;
  background-size: 1em;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-top: 0.2rem;
  margin-right: 0.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: #1F242A;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #0E1116;
  border-radius: 10px;
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(110, 231, 183, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: bold;
  color: #FF6B6B;
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: #0E1116;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
}

/* CSS-only accordion functionality */
.faq-question {
  background-color: #1F242A;
  padding: 1.5rem;
  font-weight: bold;
  position: relative;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  color: #F7F7F7;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #252c35;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #FF6B6B;
  transition: transform 0.3s ease;
}

.faq-answer {
  background-color: #0E1116;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 1.5rem;
}

/* Use the checkbox hack for CSS-only accordion */
.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, #1F242A 0%, #0E1116 100%);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: #0E1116;
  padding: 5rem 0 2rem;
  border-top: 1px solid #333;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info {
  max-width: 350px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: #aaa;
}

.footer-contact ul li,
.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-contact h3,
.footer-links h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-contact h3::after,
.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #FF6B6B;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #aaa;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content, .about-content, .services-grid, .benefits-grid, 
.testimonials-grid, .contact-content, .faq-list, .cta-content {
  animation: fadeIn 1s ease-out;
}

.service-card, .benefit-item, .testimonial-card {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1), .benefit-item:nth-child(1), .testimonial-card:nth-child(1) {
  animation-delay: 0.2s;
}

.service-card:nth-child(2), .benefit-item:nth-child(2), .testimonial-card:nth-child(2) {
  animation-delay: 0.4s;
}

.service-card:nth-child(3), .benefit-item:nth-child(3), .testimonial-card:nth-child(3) {
  animation-delay: 0.6s;
}

.benefit-item:nth-child(4) {
  animation-delay: 0.8s;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }
  
  .menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1F242A;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  
  .main-nav li {
    margin: 0 0 1rem 0;
  }
  
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-popup p {
    margin-bottom: 1rem;
  }
  
  .hero {
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 8rem 0 5rem;
    background-color: #1F242A;
}

.legal-page h1 {
    margin-bottom: 2rem;
    color: #FF6B6B;
}

.legal-content {
    background-color: #0E1116;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.legal-content h2 {
    color: #6EE7B7;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.legal-content h2::after {
    background-color: #6EE7B7;
}

.legal-content h3 {
    color: #FF6B6B;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
} 