/* Base & Reset */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #6366f1;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f97316;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --border-radius: 0.5rem;
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin: 1.5rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  line-height: 1.2;
}

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

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

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

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

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

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

nav ul li a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.25rem;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger .line {
  width: 100%;
  height: 3px;
  background-color: var(--gray-700);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }
}

/* Buttons */
.btn, 
button.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover,
button.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-text {
  background-color: transparent;
  color: var(--primary);
  padding: 0.5rem 1rem;
}

.btn-text:hover {
  background-color: var(--gray-100);
  color: var(--primary);
  box-shadow: none;
  transform: none;
}

.btn-3d {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  box-shadow: 0 6px 0 var(--primary-dark), 0 8px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.btn-3d:hover {
  box-shadow: 0 4px 0 var(--primary-dark), 0 5px 7px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
  color: var(--white);
}

.btn-3d:active {
  box-shadow: 0 1px 0 var(--primary-dark), 0 2px 3px rgba(0, 0, 0, 0.2);
  transform: translateY(5px);
}

.btn-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.btn-3d:hover::before {
  left: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f7ff 0%, #e3eaff 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L60,112C120,128,240,160,360,181.3C480,203,600,213,720,202.7C840,192,960,160,1080,133.3C1200,107,1320,85,1380,74.7L1440,64L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--gray-900);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.cta-button {
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    margin-top: 2rem;
    order: 2;
  }
}

/* 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(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
}

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

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

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

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

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

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

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

.post-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
}

.post-card p {
  padding: 0 1.5rem 1rem;
  color: var(--gray-600);
}

.read-more {
  display: inline-block;
  padding: 0 1.5rem 1.5rem;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

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

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

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

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

.testimonial-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--gray-200);
}

.testimonial-slider::-webkit-scrollbar {
  height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 4px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.testimonial {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  min-width: 350px;
  position: relative;
}

.quote {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

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

.client-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.client-info span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.cta .btn-3d {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.15);
}

.cta .btn-3d:hover {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1), 0 5px 7px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
}

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

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

.footer-logo p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links h3,
.footer-info h3,
.footer-social h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

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

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

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

.footer-info address {
  font-style: normal;
}

.footer-info p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-info svg {
  color: var(--primary-light);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.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%;
  transition: var(--transition);
  color: var(--white);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-policies {
  display: flex;
  gap: 1.5rem;
}

.footer-policies a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-policies a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-policies {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Blog Page */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background-color: var(--gray-200);
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--gray-300);
}

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

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

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

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.blog-info {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
}

.blog-card h2 {
  padding: 1.5rem 1.5rem 1rem;
  font-size: 1.5rem;
  margin-top: 0;
}

.blog-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
}

.blog-card .read-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem 1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.blog-card .read-more svg {
  transition: var(--transition);
}

.blog-card .read-more:hover svg {
  transform: translateX(5px);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--gray-700);
  font-weight: 600;
  transition: var(--transition);
}

.pagination a.next {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 20px;
  gap: 0.5rem;
}

.pagination a.active {
  background-color: var(--primary);
  color: var(--white);
}

.pagination a:hover:not(.active) {
  background-color: var(--gray-200);
}

.pagination a.next svg {
  transition: var(--transition);
}

.pagination a.next:hover svg {
  transform: translateX(3px);
}

/* Newsletter Section */
.newsletter {
  background-color: var(--gray-100);
  padding: 5rem 0;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
  color: var(--gray-600);
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

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

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
}

/* About Page Styles */
.about-mission,
.about-history {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem 0;
}

.about-mission .container,
.about-history .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.mission-content,
.history-content {
  flex: 1;
}

.mission-image,
.history-image {
  flex: 1;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.value-item {
  text-align: center;
}

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

.value-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .about-mission .container,
  .about-history .container {
    flex-direction: column;
  }
  
  .about-history .container {
    flex-direction: column-reverse;
  }
  
  .mission-values {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Team Section */
.team {
  background-color: var(--gray-100);
  padding: 5rem 0;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--gray-600);
}

.team h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

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

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

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

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.3rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

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

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

/* Certifications Section */
.certifications {
  padding: 5rem 0;
}

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

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

.certification {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

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

.certification-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--white);
}

.certification h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.certification p {
  color: var(--gray-600);
}

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
}

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

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

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

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-content p {
  margin-bottom: 0;
}

.social-media {
  margin-top: 3rem;
}

.social-media h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-form-container {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  padding: 3rem;
}

.contact-form-container h2 {
  margin-bottom: 2rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  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 select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.form-checkbox input {
  width: auto;
  margin-right: 0.75rem;
}

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

.contact-form button {
  grid-column: 1 / -1;
  margin-top: 1rem;
  justify-self: start;
  min-width: 180px;
}

@media (max-width: 991px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
}

/* Map Section */
.map-section {
  padding: 3rem 0 5rem;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

/* Blog Post Page */
.blog-post {
  padding: 5rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.post-meta .category {
  color: var(--primary);
  font-weight: 600;
}

.post-featured-image {
  margin-bottom: 2.5rem;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.post-content h2 {
  margin-top: 3rem;
}

.post-content h3 {
  margin-top: 2.5rem;
  color: var(--gray-800);
}

.quote-box {
  background-color: var(--gray-100);
  border-left: 4px solid var(--primary);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
}

.quote-box p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--gray-800);
  line-height: 1.6;
}

.quote-box cite {
  display: block;
  font-style: normal;
  color: var(--gray-600);
  font-size: 0.9rem;
  text-align: right;
}

.tips-box, .info-box {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.tips-box h4, .info-box h4 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tips-box p, .info-box p {
  margin-bottom: 0;
}

.info-box {
  background-color: rgba(79, 70, 229, 0.05);
}

.author-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 4rem 0;
}

.author-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

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

.author-bio h3 {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.author-bio h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.author-bio p {
  margin-bottom: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

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

.share-post span {
  margin-right: 1rem;
  font-weight: 600;
  color: var(--gray-700);
}

.social-share {
  display: inline-flex;
  gap: 1rem;
}

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

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

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tags span {
  font-weight: 600;
  color: var(--gray-700);
}

.tags a {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--gray-100);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: var(--transition);
}

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

@media (max-width: 768px) {
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* Related Posts Section */
.related-posts {
  background-color: var(--gray-100);
  padding: 5rem 0;
}

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

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

.related-post {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: block;
}

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

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

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

.related-post h3 {
  padding: 1.5rem;
  font-size: 1.15rem;
  color: var(--gray-800);
  margin: 0;
  transition: var(--transition);
}

.related-post:hover h3 {
  color: var(--primary);
}

/* Cookies Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  z-index: 1000;
  display: none;
  animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-link {
  flex-basis: 100%;
  font-size: 0.9rem;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .cookie-link {
    margin-top: 0;
    flex-basis: auto;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: modalFade 0.3s ease-in-out;
}

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
}

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

.modal-body {
  padding: 3rem 2rem;
  text-align: center;
}

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

.modal-body h2 {
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 2rem;
  color: var(--gray-600);
}

/* Custom 3D Objects & Frames */
.frame-fancy {
  position: relative;
  padding: 10px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.frame-fancy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  margin: 2px;
  border-radius: calc(var(--border-radius) - 2px);
  z-index: 1;
}

.frame-fancy img {
  position: relative;
  display: block;
  border-radius: calc(var(--border-radius) - 5px);
  z-index: 2;
}

.map-frame-fancy {
  position: relative;
  padding: 10px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.map-frame-fancy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  margin: 2px;
  border-radius: calc(var(--border-radius) - 2px);
  z-index: 1;
}

.map-frame-fancy iframe {
  position: relative;
  display: block;
  z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .post-grid,
  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
