/* 
   Main CSS file for domain.com
   Color palette:
   - Main: #003F5C (deep sea blue)
   - Accent: #FFA600 (bright orange)
   - Supporting: #58508D (violet-gray), #BC5090 (pink-lilac), #FF6361 (coral)
   - Background: gradient from #FAF9F6 to #E8F0FF
*/

:root {
  --main-color: #003F5C;
  --accent-color: #FFA600;
  --supporting-color1: #58508D;
  --supporting-color2: #BC5090;
  --supporting-color3: #FF6361;
  --bg-light: #FAF9F6;
  --bg-dark: #E8F0FF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, var(--bg-light), var(--bg-dark));
  color: #333;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background-color: var(--main-color);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

nav ul li a:hover:after {
  width: 100%;
}

section {
  padding: 4rem 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--main-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e69500;
}

/* Hero Section */
.hero {
  background-color: var(--main-color);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Features Section */
.features {
  text-align: center;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  color: var(--supporting-color1);
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.about-frame {
  flex: 1 1 400px;
  border: 2px solid var(--supporting-color1);
  border-radius: 8px;
  padding: 1.5rem;
  background-color: rgba(255,255,255,0.7);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
}

.about-frame:before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  width: 40px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 4px;
}

/* Services Section */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-content {
  padding: 1.5rem;
}

.service-card h3 {
  color: var(--supporting-color2);
}

/* Process Section */
.process {
  background-color: rgba(232, 240, 255, 0.5);
}

.process-container {
  border: 3px solid var(--main-color);
  border-radius: 12px;
  padding: 2rem;
  background-color: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  position: relative;
  margin-top: 3rem;
}

.process-title {
  background-color: var(--main-color);
  color: white;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 2rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.process-steps {
  counter-reset: steps;
  margin-top: 2rem;
}

.step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.step-number {
  counter-increment: steps;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-number:before {
  content: counter(steps);
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.testimonial {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: none;
  flex: 1 1 30%;
  min-width: 250px;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-top: 3px solid var(--supporting-color2);
  transition: transform 0.3s;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--supporting-color2);
}

/* Contact Form */
.form-section {
  background: linear-gradient(135deg, var(--main-color), var(--supporting-color1));
  color: white;
  padding: 3rem 0;
}

.form-container {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-title {
  color: var(--main-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  flex: 1;
  margin-bottom: 0;
}

.form-btn {
  background-color: var(--accent-color);
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
}

/* Contact Info Section */
.contact-info-section {
  background-color: rgba(232, 240, 255, 0.5);
}

.contact-frame {
  border: 2px solid var(--supporting-color1);
  border-radius: 12px;
  padding: 2rem;
  background-color: white;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.contact-item {
  flex: 1 1 200px;
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 3px solid var(--accent-color);
  background-color: rgba(255,255,255,0.7);
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  color: var(--supporting-color1);
}

/* Footer */
footer {
  background-color: var(--main-color);
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 300px;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Policy Pages */
.policy-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 2rem auto;
}

.policy-container h1 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  color: var(--supporting-color1);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 1000;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 8px 15px;
  margin-left: 15px;
  border-radius: 4px;
  cursor: pointer;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
}

.thank-you h1 {
  color: var(--supporting-color2);
  margin-bottom: 1.5rem;
}

.thank-you-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .features-grid, 
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .feature, 
  .service-card {
    max-width: 100%;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
} 