:root {
  --primary-color: #0c4da2;
  --secondary-color: #f2f5f7;
  --accent-color: #e8b021;
  --text-color: #333;
  --light-text: #fff;
  --dark-text: #222;
  --border-color: #e1e1e1;
  --footer-bg: #1a2b45;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

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

/* Header */
header {
  background-color: var(--primary-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.logo h1 {
  color: var(--light-text);
  font-size: 1.8rem;
  font-weight: 700;
}

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

nav ul li {
  margin-left: 30px;
  position: relative;
}

nav ul li a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 0;
}

nav ul li a:hover {
  color: var(--accent-color);
}

nav ul li a.active {
  color: var(--accent-color);
  font-weight: 600;
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #d3a01f;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Main Content */
main {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
}

/* Blog Posts */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.post-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
  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.1);
}

.post-content {
  padding: 20px;
}

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

.post-content p {
  margin-bottom: 15px;
  color: #666;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #777;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--accent-color);
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.post-info {
  display: flex;
  align-items: center;
  color: #777;
  margin-bottom: 20px;
}

.post-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.post-info .date {
  margin-left: 15px;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.post-content h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.post-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.post-content ul, .post-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 10px;
  position: relative;
}

.post-content ul {
  list-style: none;
}

.post-content ul li::before {
  content: '⚓';
  position: absolute;
  left: -25px;
  top: 0;
  color: var(--primary-color);
}

.post-content ol {
  counter-reset: list-counter;
  list-style: none;
}

.post-content ol li {
  counter-increment: list-counter;
}

.post-content ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: -25px;
  top: 0;
  background-color: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.post-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.tags {
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  background-color: var(--secondary-color);
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-button:hover {
  transform: translateY(-3px);
}

.facebook:hover {
  background-color: #3b5998;
  color: white;
}

.twitter:hover {
  background-color: #1da1f2;
  color: white;
}

.linkedin:hover {
  background-color: #0077b5;
  color: white;
}

.pinterest:hover {
  background-color: #bd081c;
  color: white;
}

/* About Page */
.about-section {
  padding: 60px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  margin-top: 30px;
}

.about-features h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.features-list li::before {
  content: '⚓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
}

.team-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  text-align: center;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 5px solid var(--secondary-color);
}

.team-member h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-member p {
  color: #666;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-text p, .contact-text a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-text);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #083b8a;
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding: 60px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.6;
  opacity: 0.8;
}

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

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

.footer-links ul {
  list-style: none;
}

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

.footer-links ul li a {
  color: var(--light-text);
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact .contact-item {
  margin-bottom: 15px;
}

.footer-contact .contact-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--dark-text);
  color: var(--light-text);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease forwards;
}

.cookie-consent.active {
  display: block;
}

.cookie-text {
  margin-bottom: 15px;
}

.cookie-text h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.cookie-text p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.accept-all {
  background-color: var(--success-color);
  color: white;
}

.accept-all:hover {
  background-color: #27ae60;
}

.customize {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.customize:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.decline {
  background-color: transparent;
  color: white;
  opacity: 0.7;
}

.decline:hover {
  opacity: 1;
}

.privacy-link {
  color: var(--accent-color);
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* Thank You Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--error-color);
}

.modal-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 15px;
}

.modal-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.modal-text {
  margin-bottom: 20px;
  color: #666;
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  nav ul.active {
    transform: translateY(0);
  }
  
  nav ul li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .blog-posts {
    grid-template-columns: 1fr;
  }
  
  .team-container {
    grid-template-columns: 1fr;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
