/* Base Styles */
:root {
  --primary-color: #3f51b5;
  --primary-dark: #303f9f;
  --primary-light: #c5cae9;
  --secondary-color: #ff4081;
  --secondary-dark: #f50057;
  --text-color: #333333;
  --text-light: #757575;
  --background-light: #f5f7fa;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 60px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--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-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

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

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

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

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

.btn.outline:hover {
  background-color: var(--gray-200);
  border-color: var(--gray-500);
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.center {
  text-align: center;
  margin-top: 2rem;
}

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

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

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

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

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--border-radius);
}

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

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .slogan {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.feature .icon {
  background-color: var(--primary-light);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature .icon svg {
  width: 30px;
  height: 30px;
}

.feature h3 {
  margin-bottom: 15px;
}

/* Recent Posts Section */
.recent-posts {
  background-color: var(--background-light);
}

.recent-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.post-card {
  background-color: var(--white);
  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 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more:hover {
  text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.testimonial {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 30px;
  min-width: 350px;
  flex: 1;
  box-shadow: var(--box-shadow);
}

.quote {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
}

.quote::before {
  content: """;
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  left: -15px;
  top: -20px;
}

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

.author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author h4 {
  margin-bottom: 0;
}

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

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

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

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links ul li a {
  color: var(--gray-300);
  transition: var(--transition);
}

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

.footer-contact p {
  margin-bottom: 10px;
  color: var(--gray-300);
}

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

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

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-500);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  margin-bottom: 10px;
}

/* Blog Page */
.blog {
  background-color: var(--background-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.blog-image {
  height: 250px;
}

.blog-meta {
  display: flex;
  margin-bottom: 10px;
}

.blog-meta span {
  margin-right: 20px;
  color: var(--text-light);
  font-size: 0.875rem;
}

.blog-meta .category {
  color: var(--primary-color);
  font-weight: 500;
}

/* Blog Post Page */
.blog-post {
  background-color: var(--white);
  padding: 60px 0;
}

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

.post-header h1 {
  margin: 10px 0 20px;
}

.featured-image {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 400px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  margin-bottom: 40px;
}

.post-content h2 {
  margin-top: 40px;
}

.post-content h3 {
  margin-top: 30px;
}

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

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

.post-content ul li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.post-footer {
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 20px 0;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tags span {
  margin-right: 10px;
  color: var(--text-light);
}

.tags a {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 10px;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

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

.share span {
  margin-right: 10px;
  color: var(--text-light);
}

.share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--gray-200);
  color: var(--gray-700);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

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

.related-posts h3 {
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-post {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

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

.related-post h4 {
  padding: 15px;
  margin-bottom: 0;
  font-size: 1rem;
}

/* About Page */
.about-intro {
  background-color: var(--white);
}

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

.about-text h2 {
  margin-bottom: 20px;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.mission-vision {
  background-color: var(--background-light);
}

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

.mission-box,
.vision-box,
.values-box {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.mission-box .icon,
.vision-box .icon,
.values-box .icon {
  background-color: var(--primary-light);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mission-box .icon svg,
.vision-box .icon svg,
.values-box .icon svg {
  width: 30px;
  height: 30px;
}

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

.team h2,
.section-intro {
  text-align: center;
}

.section-intro {
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.team-member h3 {
  margin: 20px 0 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 20px;
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 500;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--gray-200);
  color: var(--gray-700);
  border-radius: 50%;
  transition: var(--transition);
}

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

.why-choose-us {
  background-color: var(--background-light);
}

.why-choose-us h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.benefit {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.benefit .icon {
  background-color: var(--primary-light);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit .icon svg {
  width: 25px;
  height: 25px;
}

.about-testimonials {
  background-color: var(--primary-light);
}

.cta {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  margin-bottom: 15px;
}

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

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Contact Page */
.contact-section {
  background-color: var(--white);
}

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

.contact-info h2,
.contact-form h2 {
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  margin-bottom: 30px;
}

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

.contact-detail .icon svg {
  width: 25px;
  height: 25px;
}

.contact-detail h3 {
  margin-bottom: 5px;
}

.contact-detail p {
  margin-bottom: 0;
  color: var(--text-light);
}

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

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

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--white);
  border: 1px solid var(--gray-400);
  border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: var(--gray-200);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.map-section {
  background-color: var(--background-light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.faq-section {
  background-color: var(--white);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.faq-item {
  background-color: var(--background-light);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.faq-item p {
  margin-bottom: 0;
}

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

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  animation: slideIn 0.3s;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--gray-500);
  cursor: pointer;
}

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

.thank-you-content {
  text-align: center;
}

.thank-you-icon {
  width: 70px;
  height: 70px;
  background-color: var(--success);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
}

.thank-you-content h2 {
  margin-bottom: 15px;
}

.thank-you-content p {
  margin-bottom: 25px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1 1 300px;
}

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

.cookie-info {
  width: 100%;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .slogan {
    font-size: 1.25rem;
  }
  
  .feature-grid,
  .post-grid,
  .team-grid,
  .benefits-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .hero .cta-buttons,
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .testimonial {
    min-width: 280px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  header {
    height: auto;
    padding: 15px 0;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  section {
    padding: 40px 0;
  }
  
  .modal-content {
    margin: 15% auto;
    padding: 20px;
    width: 90%;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
  }
}
