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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

/* Typography */
h1, h2, h3, h4 {
  margin-bottom: 20px;
  color: #1a237e;
}

p {
  margin-bottom: 20px;
}

/* Header & Navigation */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px 0;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

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

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 20px;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #f0f0f0;
}

nav a.active {
  color: #1a237e;
  background-color: #e8eaf6;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(26, 35, 126, 0.85), rgba(74, 20, 140, 0.85)), url('../images/hero-background.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  padding: 80px 0;
  text-align: center;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Header */
.page-header {
  background-image: linear-gradient(rgba(26, 35, 126, 0.85), rgba(74, 20, 140, 0.85)), url('../images/hero-background.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: white;
}

.page-header p {
  font-size: 18px;
  margin-bottom: 0;
}

/* Features Section */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature h3 {
  margin-bottom: 15px;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service h3 {
  margin-bottom: 15px;
}

/* Content Section */
.content {
  padding: 60px 0;
}

.intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Forms */
.form-container {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
}

.radio-group input,
.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #4a148c;
}

.btn-small {
  display: inline-block;
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-small:hover {
  background-color: #4a148c;
}

.center {
  text-align: center;
  margin-top: 30px;
}

/* Success Message */
.success-message {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border-left: 5px solid #4caf50;
}

.success-message h3 {
  color: #2e7d32;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: #1a237e;
  background-image: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(43, 58, 150, 0.85) 100%), url('/images/footer-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 40px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer .container {
  position: relative;
  z-index: 1;
}

/* Footer contact info */
.contact-info {
  margin-bottom: 15px;
}

/* Footer copyright */
footer p {
  margin-bottom: 15px;
}

/* Footer links styling */
.footer-links {
  margin: 15px 0;
  font-size: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

/* Contact emails section */
.contact-emails {
  margin-top: 15px;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 15px;
  border-radius: 5px;
  display: inline-block;
  width: auto;
  max-width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 15px;
  }

  nav li {
    margin: 0 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .hero, .page-header {
    padding: 40px 0;
  }

  .hero h2, .page-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav li {
    margin: 5px;
  }
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.value-item {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.value-item h4 {
  color: #1a237e;
  margin-bottom: 15px;
}

.section-title {
  text-align: center;
  margin: 40px 0 20px;
}

/* Add more visual interest */
.hero, .page-header {
  position: relative;
  overflow: hidden;
}

.hero::before, .page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.1)" width="50" height="50" x="0" y="0" /><rect fill="rgba(255,255,255,0.1)" width="50" height="50" x="50" y="50" /></svg>');
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* Enhance card hover states */
.feature:hover, .service:hover, .card:hover, .value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Improve form styling */
.form-container {
  transition: box-shadow 0.3s ease;
}

.form-container:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1a237e;
  box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.2);
}

/* Improve button styling */
.btn, .btn-small {
  transition: all 0.3s ease;
}

.btn:hover, .btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(26, 35, 126, 0.3);
}

/* Add to styles.css */
.benefits-section {
  background-color: #f0f4ff;
  margin-top: 40px;
}

.benefits-section .section-title {
  margin-top: 0;
}

/* Add to styles.css */
.testimonial {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/testimonial-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.testimonial blockquote, .testimonial cite {
  color: white;
}

.testimonial blockquote {
  font-size: 24px;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  position: relative;
}

.testimonial blockquote::before,
.testimonial blockquote::after {
  content: '"';
  font-size: 60px;
  position: absolute;
  opacity: 0.3;
}

.testimonial blockquote::before {
  left: -40px;
  top: -20px;
}

.testimonial blockquote::after {
  right: -40px;
  bottom: -40px;
}

.testimonial cite {
  font-size: 18px;
  font-style: normal;
}

/* Add to styles.css */
.highlight {
  animation: highlight-pulse 2s ease-in-out;
}

@keyframes highlight-pulse {
  0% { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
  50% { box-shadow: 0 0 20px 5px rgba(26, 35, 126, 0.4); }
  100% { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
}

/* Additional CSS for improved header and footer */

/* Improved Navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.main-nav, .company-nav {
  display: flex;
  list-style: none;
}

.main-nav li, .company-nav li {
  margin-left: 15px;
}

.company-divider {
  height: 20px;
  width: 1px;
  background-color: #e0e0e0;
  margin: 0 15px;
}

/* Company indicator */
.company-indicator {
  font-size: 14px;
  color: #666;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
  }

  .main-nav, .company-nav {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .company-divider {
    display: none;
  }
}

/* Hero buttons container */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Service link styling */
.contact-prompt {
  margin-top: 15px;
  font-size: 0.9em;
}

.contact-prompt a {
  color: #1a237e;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-prompt a:hover {
  text-decoration: underline;
}

/* Additional styling for Seven Fires (7FD) */

/* Tagline styling */
.tagline {
  font-style: italic;
  font-weight: 500;
  color: #e0f7fa;
  margin-bottom: 20px;
  font-size: 20px;
}

/* Direct contact section */
.direct-contact {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.contact-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Service features list */
.service-features {
  margin: 15px 0;
  padding-left: 20px;
}

.service-features li {
  margin-bottom: 8px;
  color: #444;
}

/* Age verification checkbox */
input[name="ageVerification"] {
  accent-color: #1a237e;
}

/* Enhanced styling for Why Choose Us section */
.benefits-section .feature {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #1a237e;
}

.benefits-section .feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.benefits-section .feature h4 {
  color: #1a237e;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Product preferences checkbox group */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

@media (max-width: 768px) {
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Age Verification Overlay */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-verification-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
}

.age-verification-container h2 {
    margin-bottom: 20px;
}

.age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.age-verification-disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
}

/* Add this at the end of the CSS file */
.card-conclusion {
  margin-top: 20px;
  border-top: 1px solid #eaeaea;
  padding-top: 15px;
  font-weight: 500;
  color: #333;
}

ul + .card-conclusion {
  margin-top: 25px;
}

/* Logo styles */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-container:hover .logo {
  transform: scale(1.05);
}

/* Image styles for features */
.feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.feature:hover img {
  transform: scale(1.03);
}

/* Testimonial section with background image */
.testimonial {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/testimonial-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0;
}

.testimonial blockquote, .testimonial cite {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Add this to your styles.css */
.error-message {
  background-color: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.error-message h3 {
  color: #c33;
  margin: 0 0 10px 0;
}

.error-message p {
  color: #666;
  margin: 0 0 15px 0;
}
