:root {
  --primary-color: #0056b3;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-text: #6c757d;
  --white: #ffffff;
  --black: #000000;
  --success: #28a745;
  --danger: #dc3545;
  --border-radius: 5px;
  --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: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f5f7fa;
}

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

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

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

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

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

.nav-menu a:hover::after {
  width: 100%;
}

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

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  background-image: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

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

.btn-primary:hover {
  background-color: #004494;
}

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

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

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

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

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

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--light-text);
  font-size: 0.9rem;
}

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

.blog-excerpt {
  margin-bottom: 20px;
  color: var(--light-text);
}

/* Single Post */
.post-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.post-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.post-content h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

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

.post-content li {
  margin-bottom: 10px;
}

.post-content img {
  max-width: 100%;
  border-radius: var(--border-radius);
  margin: 30px 0;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

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

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

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

.team-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

.team-info {
  padding: 20px;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-info .position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transition: var(--transition);
}

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

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

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

.contact-info {
  margin-bottom: 40px;
}

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

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.contact-detail h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

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

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

/* Checklist */
.checklist {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.checklist h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.checklist ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.checklist li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

.footer-links h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-social h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

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

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

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

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.95);
  color: var(--white);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-notice.active {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--accent-color);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.customize-cookies {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.reject-cookies {
  background-color: var(--danger);
  color: var(--white);
}

/* Thank You Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

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

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

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-text);
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .nav-menu {
    order: 3;
    flex-basis: 100%;
    margin-top: 15px;
    justify-content: center;
  }
  
  .nav-menu li {
    margin: 0 15px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cookie-notice {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
