/* Base Styles & Variables */
:root {
  --primary-color: #2a52be;
  --primary-dark: #1e3c8c;
  --primary-light: #6a8ed6;
  --secondary-color: #ff6b35;
  --secondary-dark: #e55a2b;
  --secondary-light: #ff8c62;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --background-light: #ffffff;
  --background-off: #f9f9f9;
  --background-medium: #f2f2f2;
  --border-color: #e1e1e1;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --section-spacing: 5rem;
  --container-width: 1200px;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.8rem;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

ul, ol {
  margin: 0 0 1.8rem 2rem;
}

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

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background-color: var(--background-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo img {
  height: 4.5rem;
  border-radius: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 3rem;
}

.nav-links li a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.6rem;
  text-decoration: none;
  padding: 0.8rem 0;
  position: relative;
}

.nav-links li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links li a:hover:after,
.nav-links li a.active:after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 2px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 70vh;
  background-color: var(--background-off);
  padding: 6rem 2rem;
}

.hero-content {
  flex: 1;
  padding-right: 5rem;
}

.hero-content h1 {
  font-size: 4.8rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-content p {
  font-size: 1.8rem;
  color: var(--text-medium);
  margin-bottom: 3rem;
}

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

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* Featured Posts */
.featured-posts {
  padding: 8rem 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.post-card {
  background-color: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.post-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 2rem;
}

.post-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 0.8rem;
}

.view-all {
  margin-top: 4rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

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

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

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

/* Neon Button */
.neon-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 3rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px var(--primary-light), 0 0 30px var(--primary-light), 0 0 5px var(--primary-color);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  animation: neon-pulse 1.5s infinite alternate;
}

.neon-button:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 0 20px var(--primary-light), 0 0 40px var(--primary-light), 0 0 10px var(--primary-color);
  text-decoration: none;
  color: white;
}

@keyframes neon-pulse {
  from {
    box-shadow: 0 0 10px var(--primary-light), 0 0 20px var(--primary-light), 0 0 3px var(--primary-color);
  }
  to {
    box-shadow: 0 0 15px var(--primary-light), 0 0 30px var(--primary-light), 0 0 5px var(--primary-color);
  }
}

/* Newsletter Section */
.newsletter {
  background-color: var(--background-medium);
  padding: 6rem 2rem;
  text-align: center;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content h2 {
  margin-bottom: 1.5rem;
}

.newsletter-content p {
  margin-bottom: 3rem;
  color: var(--text-medium);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 2.5rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 5rem 2rem 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 4rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 5rem;
  margin-bottom: 1.5rem;
  border-radius: 0;
}

.footer-logo p {
  color: var(--background-medium);
  font-size: 1.4rem;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
}

.footer-column li {
  margin-bottom: 1rem;
}

.footer-column a {
  color: var(--background-medium);
  text-decoration: none;
  transition: var(--transition);
}

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

.social-media {
  flex: 1;
  min-width: 200px;
}

.social-media h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

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

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 4rem;
  color: var(--background-medium);
  font-size: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

/* Blog Page */
.blog-header {
  background-color: var(--background-off);
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 5rem;
}

.blog-header h1 {
  margin-bottom: 1.5rem;
}

.blog-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-medium);
}

.blog-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.posts-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-post {
  display: flex;
  background-color: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.blog-post .post-image {
  flex: 1;
  min-height: 250px;
  max-width: 350px;
}

.blog-post .post-content {
  flex: 2;
  padding: 3rem;
}

.blog-post .post-content h2 {
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: block;
}

/* Individual Blog Post */
.blog-post-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.post-header {
  margin-bottom: 3rem;
  position: relative;
}

.post-header h1 {
  margin-bottom: 1.5rem;
}

.post-featured-image {
  margin-bottom: 3rem;
}

.post-featured-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.post-content-full h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.post-content-full h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.content-callout {
  background-color: var(--background-off);
  padding: 2.5rem;
  border-left: 4px solid var(--primary-color);
  margin: 3rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.content-callout p {
  margin-bottom: 0;
}

.content-table {
  margin: 3rem 0;
  overflow-x: auto;
}

.content-table h3 {
  margin-bottom: 1.5rem;
}

.content-table table {
  width: 100%;
  border-collapse: collapse;
}

.content-table th,
.content-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.content-table th {
  background-color: var(--background-off);
  font-weight: 600;
}

.content-table tr:nth-child(even) {
  background-color: var(--background-off);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 4rem 0;
  align-items: center;
}

.post-tags span {
  font-weight: 600;
  color: var(--text-medium);
}

.post-tags a {
  display: inline-block;
  background-color: var(--background-off);
  color: var(--text-medium);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 1.4rem;
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-light);
  color: white;
  text-decoration: none;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 4rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.post-navigation a {
  font-weight: 500;
}

.related-posts {
  margin-top: 5rem;
}

.related-posts h3 {
  margin-bottom: 3rem;
}

/* About Page */
.about-header {
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  background-color: var(--background-off);
  margin-bottom: 5rem;
}

.about-content {
  flex: 1;
  padding-right: 5rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.our-approach {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.our-approach h2 {
  margin-bottom: 4rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.approach-card {
  padding: 3rem;
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.approach-icon {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.approach-card h3 {
  margin-bottom: 1.5rem;
}

.approach-card p {
  color: var(--text-medium);
  margin-bottom: 0;
}

.team-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.team-member {
  background-color: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 2rem 0 0.5rem;
  font-size: 2rem;
}

.team-member p {
  padding: 0 2rem;
  margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.member-social a {
  color: var(--text-medium);
}

.member-social a:hover {
  color: var(--primary-color);
}

.testimonials {
  background-color: var(--background-off);
  padding: 6rem 2rem;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 4rem;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2rem;
}

.testimonial {
  flex: 0 0 calc(100% - 3rem);
}

.testimonial-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: left;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

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

.testimonial-author h4 {
  margin-bottom: 0.3rem;
  font-size: 1.8rem;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--text-light);
  font-style: normal;
}

/* Contact Page */
.contact-header {
  background-color: var(--background-off);
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 5rem;
}

.contact-header h1 {
  margin-bottom: 1.5rem;
}

.contact-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-medium);
}

.contact-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display: flex;
  gap: 5rem;
}

.contact-info {
  flex: 1;
}

.info-card {
  padding: 2.5rem;
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.info-card h3 {
  margin-bottom: 1.5rem;
}

.info-card p {
  margin-bottom: 0.5rem;
}

.info-card a {
  color: var(--primary-color);
}

.contact-form-container {
  flex: 2;
}

.contact-form-container h2 {
  margin-bottom: 3rem;
}

.contact-form {
  background-color: var(--background-light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

.submit-btn {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
}

.map-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.map-section h2 {
  margin-bottom: 3rem;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container img {
  width: 100%;
  display: block;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: auto;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
  padding: 2rem 1rem;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 2rem;
}

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

.thank-you-message p {
  margin-bottom: 2.5rem;
}

.close-thank-you {
  padding: 1rem 3rem;
}

/* New Badge */
.new-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 1;
}

.new-badge.large {
  font-size: 1.4rem;
  padding: 0.6rem 1.2rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-light);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 2rem;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 900px;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 2rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cookie-content a {
  font-size: 1.4rem;
  color: var(--text-medium);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
  }

  .hero-content {
    padding-right: 0;
  }

  .about-header {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
  }

  .about-content {
    padding-right: 0;
  }

  .contact-content {
    flex-direction: column;
  }

  .blog-post {
    flex-direction: column;
  }

  .blog-post .post-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56.25%;
  }

  .header-container {
    padding: 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer-container {
    flex-direction: column;
    gap: 4rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 3rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
  }

  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .post-navigation {
    flex-direction: column;
    gap: 2rem;
  }
}
