/* Base styles */
:root {
  --primary-color: #3366cc;
  --primary-dark: #2855ab;
  --primary-light: #5e8be0;
  --secondary-color: #ff6600;
  --secondary-dark: #e25900;
  --secondary-light: #ff8533;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #f2f2f2;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  --border-radius: 6px;
  --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-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

body.larger-font {
  font-size: 18px;
}

a {
  color: var(--primary-color);
  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-bottom: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-color);
  font-weight: 700;
}

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

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

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

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

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

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

.btn:hover, button:hover {
  background-color: var(--primary-dark);
  color: white;
}

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

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

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

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

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

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

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

nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.font-size {
  margin-right: 2rem;
}

#increase-font {
  background-color: transparent;
  color: var(--text-color);
  padding: 0.5rem;
  font-weight: bold;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

#increase-font:hover {
  background-color: var(--bg-light);
}

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

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-header p {
  font-size: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

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

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

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

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

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

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

.read-more:after {
  content: ' →';
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 5px;
}

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

/* Timeline Section */
.timeline {
  padding: 5rem 0;
  background-color: white;
}

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

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-wrapper:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 4px;
  background-color: var(--primary-light);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: 46px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-color);
  top: 24px;
}

.timeline-content {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--primary-color);
}

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

/* Blog Posts Page */
.blog-posts {
  padding: 3rem 0 5rem;
}

.blog-posts .post-card {
  display: flex;
  flex-direction: column;
}

.blog-posts .post-meta {
  padding: 1rem 1.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
}

.blog-posts .post-meta .date:before {
  content: '📅 ';
}

.blog-posts .post-meta .category:before {
  content: '🏷️ ';
}

.posts-grid.small .post-card h4 {
  padding: 1rem 1.5rem 0.5rem;
  font-size: 1.1rem;
}

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

.post-header {
  margin-bottom: 2rem;
}

.post-header .post-meta {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

.post-content h2 {
  color: var(--primary-color);
  margin-top: 2.5rem;
}

.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  list-style-position: outside;
}

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

.post-footer {
  max-width: 800px;
  margin: 3rem auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: var(--bg-light);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

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

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

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

.share-btn:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

.related-posts {
  margin: 4rem auto;
  max-width: 1000px;
}

.related-posts h3 {
  margin-bottom: 2rem;
  text-align: center;
}

/* Course Details */
.course-details {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.detail-item {
  margin-bottom: 0.5rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

/* Pros and Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pros, .cons {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.pros h3 {
  color: var(--success-color);
}

.cons h3 {
  color: var(--error-color);
}

/* Program Examples */
.program-examples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.program-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.program-card h3 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Decision Factors */
.decision-factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.factor {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.factor h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Comparison Table */
.comparison-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.skill-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.skill-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.skill-item h4 {
  margin-top: 0;
}

/* Profile Card */
.profile-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--box-shadow);
}

.profile-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
}

.profile-header h3 {
  margin: 0 0 0.5rem;
  color: white;
}

.salary-range {
  font-size: 0.9rem;
}

.profile-content {
  padding: 1.5rem;
}

.profile-description {
  margin-bottom: 1.5rem;
}

.skills-section, .education-section, .industries-section {
  margin-bottom: 1.5rem;
}

.skills-section h4, .education-section h4, .industries-section h4 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

/* Post CTA */
.post-cta {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  border-left: 4px solid var(--primary-color);
}

.post-cta h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.post-cta p {
  margin-bottom: 0;
}

/* About Page */
.about-intro {
  padding: 3rem 0;
}

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

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

.team-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

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

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

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

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
  padding: 0 1.5rem;
}

.team-member p {
  margin: 0 0 1rem;
  padding: 0 1.5rem;
}

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

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

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

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

.values-section {
  padding: 3rem 0 5rem;
}

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

.value-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.value-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.value-card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

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

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

.contact-info {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
}

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

.info-icon {
  color: var(--primary-color);
}

.info-text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.info-text p {
  margin: 0;
}

.social-contact h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

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

.social-icons a:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

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

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

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

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

.map-section {
  padding: 3rem 0 5rem;
  background-color: var(--bg-light);
}

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

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--success-color);
}

.modal h2 {
  margin-top: 0;
}

.close-btn {
  margin-top: 1.5rem;
}

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

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

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

.footer-links h3, .footer-legal h3, .footer-contact h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

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

.footer-links a, .footer-legal a {
  color: #a8b6c5;
  transition: var(--transition);
}

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

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

.footer-contact .social-icons {
  margin-top: 1.5rem;
}

.footer-contact .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
}

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

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 1000;
  padding: 1.5rem 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.btn-cookie {
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

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

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

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

.cookie-policy a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content, .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
  
  .pros-cons, .decision-factors {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-share {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .timeline-wrapper:before {
    left: 30px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-dot {
    left: 26px;
  }
  
  .cookie-content {
    padding: 0 1rem;
  }
}

/* Icons */
.icon-location:before {
  content: '📍';
}

.icon-phone:before {
  content: '📞';
}

.icon-email:before {
  content: '✉️';
}
