/* Base Styles */
:root {
  --primary-color: #f83600;
  --primary-light: #ff5c29;
  --secondary-color: #333a56;
  --text-color: #333;
  --text-light: #666;
  --background-color: #f9f9f9;
  --card-bg: #fff;
  --border-color: #e1e1e1;
  --success-color: #28a745;
  --error-color: #dc3545;
  --border-radius: 6px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

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

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

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

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #232a40 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
}

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

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
  padding: 80px 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--secondary-color);
}

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

.post-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  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.15);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--secondary-color);
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.read-more {
  font-weight: 600;
  display: inline-block;
  position: relative;
}

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

.read-more:hover::after {
  margin-left: 10px;
}

/* CTA Section */
.cta-section {
  background-color: var(--secondary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.newsletter-form input {
  flex-grow: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 16px;
}

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

/* Footer */
footer {
  background-color: #1e2233;
  color: white;
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 40px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
}

.footer-links ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.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);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card-bg);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.cookie-more-info {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #232a40 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Page Styles */
.blog-content {
  padding: 80px 0;
}

.blog-posts {
  margin-top: 50px;
}

.blog-post {
  margin-bottom: 60px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.blog-post .post-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.blog-post .post-content {
  padding: 30px;
}

.blog-post h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.post-meta {
  display: flex;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.post-excerpt h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--secondary-color);
}

/* About Page Styles */
.about-content {
  padding: 80px 0;
}

.about-intro {
  text-align: center;
  margin-bottom: 60px;
}

.about-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-intro p {
  max-width: 800px;
  margin: 0 auto 20px;
}

.team-section {
  margin-top: 60px;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--secondary-color);
}

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

.team-member {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

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

.team-member h3 {
  margin: 20px 0 5px;
  font-size: 1.4rem;
}

.team-member p {
  color: var(--text-light);
  padding: 0 20px;
  margin-bottom: 15px;
}

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

.team-member .social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 20px 20px;
}

.team-member .social-links a {
  color: var(--text-light);
}

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

.values-section {
  margin-top: 60px;
}

.values-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--secondary-color);
}

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

.value-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(248, 54, 0, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.value-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Contact Page Styles */
.contact-content {
  padding: 80px 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 60px 0;
}

.contact-info {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.contact-info h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-icon {
  margin-right: 15px;
  color: var(--primary-color);
}

.info-text h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.info-text p a {
  color: var(--text-color);
}

.info-text p a:hover {
  color: var(--primary-color);
}

.social-contact {
  margin-top: 30px;
}

.social-contact h3 {
  margin-bottom: 15px;
}

.contact-form-container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--secondary-color);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(248, 54, 0, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

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

.map-section {
  margin-top: 60px;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--secondary-color);
}

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

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

.modal.show {
  display: block;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.success-icon {
  color: var(--success-color);
  margin-bottom: 20px;
}

.modal-body h2 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.modal-body p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.close-btn {
  display: inline-block;
}

/* Summary Section */
.summary-section {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 50px;
}

.summary-section h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.summary-content p {
  margin-bottom: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: var(--secondary-color);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background-color: #f9f9f9;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .hero {
    padding: 70px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .featured-posts,
  .blog-content,
  .about-content,
  .contact-content {
    padding: 60px 0;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .post-card img {
    height: 180px;
  }
  
  .blog-post .post-image img {
    height: 250px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
