/* Global Styles */
:root {
  --primary-color: #1e5f74;
  --secondary-color: #3a9fb8;
  --accent-color: #f39c12;
  --background-color: #f9f9f9;
  --text-color: #333;
  --light-gray: #e0e0e0;
  --dark-gray: #555;
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

/* Header and Navigation */
.header {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

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

/* Neon Button Effect */
.neon-btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 10px rgba(66, 220, 219, 0.5), 
              0 0 20px rgba(66, 220, 219, 0.3), 
              0 0 30px rgba(66, 220, 219, 0.1);
  text-shadow: 0 0 5px #42dcdb, 0 0 10px #42dcdb;
  transition: all 0.3s ease;
  margin: 20px 0;
}

.neon-btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #42dcdb, #3a9fb8);
  z-index: -1;
}

.neon-btn:hover {
  box-shadow: 0 0 15px rgba(66, 220, 219, 0.8), 
              0 0 30px rgba(66, 220, 219, 0.6), 
              0 0 45px rgba(66, 220, 219, 0.4);
  text-shadow: 0 0 10px #42dcdb, 0 0 20px #42dcdb;
}

.neon-btn:active {
  transform: scale(0.98);
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  gap: 15px;
}

.countdown-item {
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  border-radius: 5px;
  min-width: 70px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.countdown-number {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.countdown-heading {
  text-align: center;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

/* Blog Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.feature-content {
  padding: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Blog Section */
.blog {
  padding: 5rem 0;
}

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

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

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.blog-meta span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 0.3rem;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 0.3rem;
  transition: var(--transition);
}

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

.load-more {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Single Blog Post */
.post-header {
  margin-bottom: 2rem;
}

.post-meta {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
}

.post-meta span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 0.3rem;
}

.post-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.post-content {
  margin-bottom: 3rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2, .post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  font-style: italic;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.post-tags a {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--secondary-color);
  color: white;
}

.share-post {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.share-post span {
  margin-right: 1rem;
  font-weight: 500;
}

.share-links {
  display: flex;
}

.share-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.share-links a:hover {
  background-color: var(--secondary-color);
  color: white;
}

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

.prev-post, .next-post {
  width: 48%;
}

.post-nav-title {
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
}

.prev-post {
  text-align: left;
}

.next-post {
  text-align: right;
}

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

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* About Page */
.about-section {
  padding: 5rem 0;
}

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

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

.about-text h2 {
  margin-bottom: 1.5rem;
}

.mission-vision {
  margin: 4rem 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mission-card, .vision-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.mission-card h3, .vision-card h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mission-card i, .vision-card i {
  margin-right: 0.8rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.team-section {
  padding: 4rem 0;
}

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

.team-member {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

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

.team-content {
  padding: 1.5rem;
}

.team-name {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-bio {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.team-social {
  display: flex;
  justify-content: center;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.3rem;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  height: fit-content;
}

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

.contact-details {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.contact-details i {
  width: 24px;
  margin-right: 1rem;
  color: var(--primary-color);
}

.contact-social {
  display: flex;
  margin-top: 1.5rem;
}

.contact-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.8rem;
  transition: var(--transition);
}

.contact-social a:hover {
  background-color: var(--secondary-color);
  color: white;
}

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

.contact-form h3 {
  margin-bottom: 1.5rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

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

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.footer-about {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #444;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.8rem;
  transition: var(--transition);
}

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

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  margin-bottom: 1rem;
  color: #ccc;
}

.footer-contact i {
  width: 24px;
  margin-right: 1rem;
  color: var(--primary-color);
}

.footer-newsletter p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #444;
  text-align: center;
}

.footer-bottom p {
  color: #ccc;
  margin-bottom: 1rem;
}

.footer-links-bottom {
  display: flex;
  justify-content: center;
  list-style: none;
}

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

.footer-links-bottom a {
  color: #ccc;
  transition: var(--transition);
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.cookie-text h4 {
  margin-bottom: 5px;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 5px;
}

.cookie-text a {
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

.cookie-btn-secondary {
  background-color: #e0e0e0;
  color: var(--text-color);
}

.cookie-btn-secondary:hover {
  background-color: #d0d0d0;
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark-gray);
}

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

.thank-you-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content i {
  font-size: 3rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.modal-content h3 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 1.5rem;
}

.modal-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark-gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content, 
  .mission-vision-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    background-color: white;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1.5rem 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prev-post, .next-post {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .feature-grid, 
  .blog-grid, 
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .countdown-timer {
    gap: 8px;
  }
  
  .countdown-item {
    min-width: 60px;
    padding: 10px;
  }
  
  .countdown-number {
    font-size: 1.4rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}
