/* 
* Main stylesheet for domain.com
* Color Palette:
* - Main background: #3F2B96 (ultramarine violet)
* - Accent: #FFBC42 (amber)
* - Headings: #FFFFFF (white)
* - Text: #2D2D2D (graphite gray)
* - Secondary background: #F8F8F8 (smoky white)
* - UI elements: #00C2A8 (turquoise)
* - Gradients: amber to ultramarine
*/

/* Reset and base styles */
:root {
  --color-primary: #3F2B96;
  --color-accent: #FFBC42;
  --color-headings: #FFFFFF;
  --color-text: #2D2D2D;
  --color-bg-secondary: #F8F8F8;
  --color-ui: #00C2A8;
  --font-heading: 'Roboto Mono', monospace;
  --font-body: 'Roboto', sans-serif;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section titles */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0.8rem auto 0;
}

/* Policy page headers */
.page-header h1 {
  text-align: center;
}

.policy-header h1 {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-headings);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--color-ui);
  color: var(--color-headings);
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* Header */
header {
  background-color: var(--color-primary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  color: var(--color-headings);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: lowercase;
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-desktop li:not(:last-child) {
  margin-right: 1.5rem;
}

.nav-desktop a {
  color: var(--color-headings);
  font-weight: 500;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-mobile {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-ui) 100%);
  color: var(--color-headings);
  padding: 7rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-icons {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2rem;
  transition: all 0.3s ease;
}

.hero-icon:hover {
  transform: translateY(-5px);
}

.hero-icon .icon {
  width: 60px;
  height: 60px;
  fill: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-icon span {
  font-weight: 500;
}

/* About Section */
.about {
  background-color: var(--color-bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text ul {
  list-style-type: none;
}

.about-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.about-text li::before {
  content: "•";
  color: var(--color-accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Services Section */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
  margin-bottom: 1.5rem;
  height: 180px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.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-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card .btn {
  margin-top: 1.5rem;
  align-self: center;
}

/* Benefits Section */
.benefits {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-ui) 100%);
  color: var(--color-headings);
}

.benefits h2 {
  text-align: center;
  color: var(--color-headings);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.benefit-icon .icon {
  width: 50px;
  height: 50px;
  fill: var(--color-accent);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.benefit-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--color-bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #666;
}

/* Contact Form Section */
.contact {
  background-color: white;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-ui) 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 3rem;
  transform: perspective(1000px) rotateY(-5deg);
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  transform: perspective(1000px) rotateX(3deg) rotateZ(1deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e1e1;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 43, 150, 0.2);
}

.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;
  font-size: 0.9rem;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* FAQ Section */
.faq {
  background-color: var(--color-bg-secondary);
}

.faq-item {
  margin-bottom: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--color-headings);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.footer-column ul {
  list-style: none;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: var(--color-headings);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 400px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  z-index: 999;
  display: none;
}

.cookie-consent.active {
  display: block;
  animation: slideIn 0.5s forwards;
}

.cookie-consent h3 {
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.cookie-consent p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.cookie-consent-buttons {
  display: flex;
  justify-content: flex-end;
}

.cookie-consent-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.cookie-accept-btn {
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  margin-left: 1rem;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-icon {
    margin: 0 1rem 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .services-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .nav-mobile {
    display: block;
  }
  
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-headings);
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: 1000;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
  }
  
  .mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-headings);
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  .mobile-menu ul {
    list-style: none;
    margin-top: 3rem;
  }
  
  .mobile-menu li {
    margin-bottom: 1.5rem;
  }
  
  .mobile-menu a {
    color: var(--color-headings);
    font-size: 1.3rem;
    display: block;
    padding: 0.5rem 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
    transform: none;
  }
  
  .contact-form {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-icon .icon {
    width: 40px;
    height: 40px;
  }
  
  .benefit-item {
    padding: 1.5rem;
  }
  
  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }
} 