@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #c5d7da;
  color: #0f2d33;
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  color: #114d57;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3.2rem;
  }
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

p {
  margin-bottom: 15px;
  font-size: 1rem;
}
@media (min-width: 768px) {
  p {
    font-size: 1.1rem;
  }
}

.text-overline {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b6e0e;
  margin-bottom: 10px;
  display: block;
}

header {
  padding: 20px 0;
}
header .row {
  align-items: center;
}
header .logo {
  width: 300px;
  height: 150px;
}
header nav {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}
@media (min-width: 768px) {
  header nav {
    margin-top: 0;
    justify-content: flex-end;
    width: 100%;
  }
}
header nav a {
  font-weight: 700;
  color: #114d57;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.3s;
}
header nav a:hover {
  color: #1b6e0e;
}

.hero {
  padding: 60px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.hero .hero-content {
  order: 2;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .hero .hero-content {
    order: 1;
  }
}
@media (min-width: 1200px) {
  .hero .hero-content {
    margin-top: 20px;
    min-height: 500px;
  }
}
.hero .hero-content .btn {
  align-self: flex-start;
}
@media (min-width: 768px) {
  .hero .hero-content .btn {
    margin-top: auto;
  }
}
.hero .hero-image {
  order: 1;
  position: relative;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .hero .hero-image {
    order: 2;
    margin-bottom: 0;
  }
}
.hero .hero-image img {
  border-radius: 0 0 150px 150px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 5px solid #ffffff;
}

.about-section {
  padding: 120px 0;
  position: relative;
}
.about-section .about-grid {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .about-section .about-grid {
    flex-direction: row;
    align-items: center;
  }
}
.about-section .about-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .about-section .about-image-wrapper {
    width: 45%;
  }
}
.about-section .about-image-wrapper img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.about-section .about-image-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: #1b6e0e;
  z-index: -1;
  border-radius: 8px;
}
.about-section .about-image-wrapper:hover img {
  filter: grayscale(0%);
}
.about-section .about-content {
  width: 100%;
  background-color: #ffffff;
  padding: 40px;
  margin-top: -50px;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
@media (min-width: 768px) {
  .about-section .about-content {
    width: 60%;
    margin-top: 0;
    margin-left: -80px;
    padding: 80px;
  }
}
.about-section .about-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #114d57;
}
.about-section .about-content .stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(17, 77, 87, 0.2);
}
.about-section .about-content .stats-row .stat-item strong {
  font-size: 2.5rem;
  display: block;
  color: #1b6e0e;
  line-height: 1;
}
.about-section .about-content .stats-row .stat-item span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-section {
  padding: 100px 0;
}
.services-section .services-header {
  margin-bottom: 60px;
  max-width: 600px;
}
.services-section .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .services-section .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background-color: #ffffff;
  padding: 60px 50px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, background-color 0.4s ease;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card .service-number {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 10rem;
  font-weight: 700;
  color: rgba(17, 77, 87, 0.05);
  font-family: "Playfair Display", serif;
  transition: color 0.4s ease;
}
.service-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.service-card p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  color: rgb(26.5909090909, 79.7727272727, 90.4090909091);
}
.service-card:hover {
  background-color: #114d57;
  transform: translateY(-10px);
}
.service-card:hover h3, .service-card:hover p {
  color: #ffffff;
}
.service-card:hover .service-number {
  color: rgba(255, 255, 255, 0.1);
}

.areas-section {
  padding: 100px 0;
  background-color: #114d57;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.areas-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
}
.areas-section .container {
  position: relative;
  z-index: 1;
}
.areas-section .areas-layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (min-width: 768px) {
  .areas-section .areas-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.areas-section .areas-text {
  flex: 1;
}
.areas-section .areas-text h2 {
  color: #ffffff;
  font-size: 3.5rem;
}
.areas-section .areas-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 500px;
}
.areas-section .areas-hubs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .areas-section .areas-hubs {
    align-items: flex-end;
  }
}
.areas-section .hub-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  transition: transform 0.3s;
}
.areas-section .hub-card:hover {
  background: rgba(27, 110, 14, 0.2);
  border-color: #1b6e0e;
  transform: translateX(-20px);
}
.areas-section .hub-card .status-dot {
  width: 12px;
  height: 12px;
  background-color: #1b6e0e;
  border-radius: 50%;
  box-shadow: 0 0 10px #1b6e0e;
  animation: pulse 2s infinite;
}
.areas-section .hub-card span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
}
.portfolio-section .services-header {
  margin-bottom: 18px;
}
.portfolio-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}
.portfolio-prev, .portfolio-next {
  background: #ffffff;
  border: 1px solid #114d57;
  color: #114d57;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
}
.portfolio-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.portfolio-slider::-webkit-scrollbar { display: none; }
.portfolio-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.portfolio-card {
  flex: 0 0 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.35s ease;
}
.portfolio-card:hover { transform: translateY(-6px); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,110,14,0.0) 30%, rgba(27,110,14,0.92) 100%);
  color: #ffffff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border-radius: 8px;
  transition: opacity 0.28s ease;
}
.portfolio-card:hover .portfolio-overlay, .portfolio-card:focus-within .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay h3 {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  color: #ffffff;
}
.portfolio-overlay p {
  margin: 0 0 12px 0;
  color: rgba(255,255,255,0.95);
}
.portfolio-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}
.portfolio-note {
  margin-top: 14px;
  color: rgba(17,77,87,0.8);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .portfolio-card { flex: 0 0 calc(50% - 12px); height: 360px; }
}
@media (min-width: 1200px) {
  .portfolio-card { flex: 0 0 calc(33.333% - 16px); height: 360px; }
  .portfolio-controls { justify-content: flex-end; }
}

.row {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .row {
    flex-direction: row;
    align-items: flex-start;
  }
}

.col-12 {
  width: 100%;
}

@media (min-width: 768px) {
  .col-6 {
    width: 50%;
  }
  .col-4 {
    width: 33.33%;
  }
  .col-8 {
    width: 66.66%;
  }
}
.text-center {
  text-align: center;
}

section {
  padding: 80px 0;
}

.section-dark {
  background-color: #114d57;
  color: #ffffff;
}
.section-dark h2, .section-dark p {
  color: #ffffff;
}

footer {
  background-color: #114d57;
  color: #ffffff;
  padding: 100px 0 40px 0;
  margin-top: 0;
}
footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
@media (min-width: 768px) {
  footer .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  footer .footer-content .footer-brand, footer .footer-content .contact, footer .footer-content .footer-contact {
    flex: 1 1 0;
    min-width: 0;
  }
  footer .footer-content .contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2em;
  }
}
footer .footer-brand .footer-logo {
  width: 250px;
  height: 200px;
}
@media (min-width: 768px) {
  footer .footer-brand .footer-logo {
    width: 300px;
    margin-left: -50px;
    margin-top: -50px;
  }
}
footer .footer-brand .footer-tagline {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (min-width: 768px) {
  footer .footer-contact {
    text-align: right;
    align-items: flex-end;
  }
}
footer .footer-contact .contact-link {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  position: relative;
}
footer .footer-contact .contact-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: #1b6e0e;
  transition: width 0.3s ease;
}
footer .footer-contact .contact-link:hover {
  color: #1b6e0e;
}
footer .footer-contact .contact-link:hover::after {
  width: 100%;
}
footer .footer-contact .address {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
footer .footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}
footer .footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  align-items: center;
  padding: 0 24px;
}
@media (min-width: 768px) {
  footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
footer .footer-bottom .copyright p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
footer .footer-bottom .social-links {
  display: flex;
  gap: 25px;
}
footer .footer-bottom .social-links a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s;
}
footer .footer-bottom .social-links a:hover {
  transform: translateY(-3px);
}

.contact {
  color: #ffffff;
}
.contact h3 {
  font-family: "Playfair Display", serif;
  color: #ffffff;
  margin-bottom: 0.6em;
  font-size: 1.4rem;
  text-align: center;
  width: 100%;
}
.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 18px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
.contact label {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  margin-bottom: 0.35em;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.contact p {
  margin: 0;
}
.contact .full {
  grid-column: 1/3;
}
.contact input, .contact textarea {
  width: 100%;
  padding: 0.9em;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: "Lato", sans-serif;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.12s ease;
}
.contact input:focus, .contact textarea:focus {
  background-color: #ffffff;
  border-color: #1b6e0e;
  color: #1b6e0e;
  box-shadow: none;
  outline: none;
}
.contact .btn {
  display: inline-block;
  width: 100%;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  background-color: #ffffff;
  color: #114d57;
  cursor: pointer;
  transition: none;
}
.contact .btn:hover, .contact .btn:focus {
  background-color: #ffffff;
  color: #114d57;
}
.contact .alert {
  width: 150px;
  text-align: center;
  border: 8px;
  padding: 10px;
  background: #1b6e0e;
  color: #ffffff;
  margin-bottom: 10px;
  display: none;
}
@media (max-width: 699px) {
  .contact form {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
  .contact .full {
    grid-column: 1;
  }
}

.btn {
  display: inline-block;
  background-color: #1b6e0e;
  color: #ffffff;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid #1b6e0e;
  cursor: pointer;
  margin-top: 20px;
}
.btn:hover {
  background-color: transparent;
  color: #1b6e0e;
}

.btn-outline {
  background-color: transparent;
  color: #114d57;
  border: 2px solid #114d57;
}
.btn-outline:hover {
  background-color: #114d57;
  color: #ffffff;
}

.card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  height: 100%;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.card:hover {
  transform: translateY(-5px);
}

.cv-hero-modern {
  background: linear-gradient(135deg, #114d57 0%, #114d57 100%);
  color: #ffffff;
  padding: 100px 0 80px 0;
  position: relative;
  overflow: hidden;
}
.cv-hero-modern::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(27, 110, 14, 0.08);
  border-radius: 50%;
  z-index: 0;
}
.cv-hero-modern::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(27, 110, 14, 0.06);
  border-radius: 50%;
  z-index: 0;
}
.cv-hero-modern .hero-gradient-block {
  display: none;
}
.cv-hero-modern .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .cv-hero-modern .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.cv-hero-modern .hero-text-block .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 110, 14, 0.2);
  color: #90EE90;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cv-hero-modern .hero-text-block .status-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #1b6e0e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.cv-hero-modern .hero-text-block .hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 12px 0;
  line-height: 1.1;
  color: #ffffff;
}
.cv-hero-modern .hero-text-block .hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-weight: 600;
}
.cv-hero-modern .hero-text-block .hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
}
.cv-hero-modern .hero-text-block .hero-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cv-hero-modern .hero-text-block .hero-contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.cv-hero-modern .hero-text-block .hero-contact-info .info-item i {
  color: #1b6e0e;
  width: 20px;
  text-align: center;
}
.cv-hero-modern .hero-text-block .hero-contact-info .info-item span {
  color: rgba(255, 255, 255, 0.9);
}
.cv-hero-modern .hero-actions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .cv-hero-modern .hero-actions {
    align-items: stretch;
  }
}
.cv-hero-modern .hero-actions .btn-print {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #114d57;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cv-hero-modern .hero-actions .btn-print:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cv-hero-modern .hero-actions .quick-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.cv-hero-modern .hero-actions .quick-stats .stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid #1b6e0e;
  backdrop-filter: blur(10px);
}
.cv-hero-modern .hero-actions .quick-stats .stat strong {
  display: block;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.cv-hero-modern .hero-actions .quick-stats .stat small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(27, 110, 14, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(27, 110, 14, 0);
  }
}
.cv-content-modern {
  background: #c5d7da;
  padding: 100px 0;
  min-height: calc(100vh - 400px);
}
.cv-content-modern .cv-wrapper {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 50px;
}
@media (max-width: 768px) {
  .cv-content-modern .cv-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.cv-content-modern .cv-layout {
  width: 100%;
}

.cv-section {
  margin-bottom: 20px;
}
.cv-section .section-header {
  margin-bottom: 50px;
  position: relative;
}
.cv-section .section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #114d57;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.cv-section .section-header h2 i {
  color: #1b6e0e;
  margin-right: 10px;
}
.cv-section .section-header .header-line {
  height: 3px;
  background: linear-gradient(90deg, #1b6e0e, transparent);
  width: 60px;
  border-radius: 2px;
}
.cv-section .summary-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #0f2d33;
}

.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #1b6e0e, transparent);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 30px;
}
.timeline-item .timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 26px;
  height: 26px;
  background: #ffffff;
  border: 3px solid #1b6e0e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-item .timeline-marker .year-badge {
  position: absolute;
  left: 40px;
  top: -5px;
  background: #1b6e0e;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.timeline-item .timeline-content h3 {
  font-size: 1.3rem;
  color: #114d57;
  margin-left: 65px;
  font-weight: 700;
}
.timeline-item .timeline-content .company-name {
  font-size: 0.95rem;
  color: #1b6e0e;
  font-weight: 700;
  margin-bottom: 12px;
}
.timeline-item .timeline-content .job-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #0f2d33;
  margin-bottom: 16px;
}
.timeline-item .timeline-content .achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-item .timeline-content .achievements li {
  font-size: 0.95rem;
  color: #0f2d33;
  margin-bottom: 16px;
  padding-left: 20px;
  position: relative;
}
.timeline-item .timeline-content .achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b6e0e;
  font-weight: 700;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 500px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
}
.education-grid .edu-card {
  background: linear-gradient(135deg, rgba(27, 110, 14, 0.08), transparent);
  padding: 32px;
  border-radius: 8px;
  border-left: 3px solid #1b6e0e;
  transition: all 0.3s ease;
}
.education-grid .edu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.education-grid .edu-card .edu-degree {
  font-size: 1.1rem;
  font-weight: 700;
  color: #114d57;
  margin-bottom: 8px;
}
.education-grid .edu-card .edu-university {
  font-size: 0.95rem;
  color: #0f2d33;
  margin-bottom: 8px;
}
.education-grid .edu-card .edu-year {
  font-size: 0.85rem;
  color: #1b6e0e;
  font-weight: 700;
}

.cv-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cv-sidebar-column .sidebar-section {
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.cv-sidebar-column .sidebar-section:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.cv-sidebar-column .sidebar-section .sidebar-title {
  font-size: 1.1rem;
  color: #114d57;
  font-weight: 700;
  margin: 0 0 20px 0;
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #1b6e0e;
  padding-bottom: 12px;
}
.cv-sidebar-column .profile-section {
  text-align: center;
  position: relative;
}
.cv-sidebar-column .profile-section .profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  border: 4px solid #1b6e0e;
  margin: 0 auto 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(27, 110, 14, 0.2);
  transition: transform 0.3s ease;
}
.cv-sidebar-column .profile-section .profile-photo:hover {
  transform: translateY(-8px);
}
.cv-sidebar-column .profile-section .social-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.cv-sidebar-column .profile-section .social-badges a {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1b6e0e, rgb(38.1048387097, 155.2419354839, 19.7580645161));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.cv-sidebar-column .profile-section .social-badges a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(27, 110, 14, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.skills-grid .skill-tag {
  background: linear-gradient(135deg, rgba(27, 110, 14, 0.12), transparent);
  color: #114d57;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(27, 110, 14, 0.2);
  transition: all 0.3s ease;
  display: block;
  text-align: center;
}
.skills-grid .skill-tag:hover {
  background: rgba(27, 110, 14, 0.15);
  border-color: #1b6e0e;
  color: #1b6e0e;
}

.leadership-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.leadership-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: #0f2d33;
  font-size: 0.95rem;
}
.leadership-list li i {
  color: #1b6e0e;
  font-size: 0.9rem;
}

.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cert-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: #0f2d33;
  font-size: 0.95rem;
}
.cert-list li i {
  color: #1b6e0e;
  font-size: 0.9rem;
}

.language-item {
  margin-bottom: 28px;
}
.language-item span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #114d57;
  margin-bottom: 10px;
}
.language-item .proficiency-bar {
  height: 6px;
  background: rgba(15, 45, 51, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.language-item .proficiency-bar .proficiency-fill {
  height: 100%;
  background: linear-gradient(90deg, #1b6e0e, rgb(38.1048387097, 155.2419354839, 19.7580645161));
  border-radius: 3px;
  transition: width 0.5s ease;
}

@media print {
  /* 1. RESET & HIDE UNWANTED ELEMENTS */
  header,
  footer,
  .hero-actions, /* Hides print button & stats */
  .contact,      /* Hides footer contact form */
  .cv-hero-modern::before, /* Hides decorative circles */
  .cv-hero-modern::after {
    display: none !important;
  }

  /* 2. PAGE BASICS */
  @page {
    margin: 0.5cm;
    size: auto;
  }

  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* 3. HERO SECTION (Name/Title) */
  .cv-hero-modern {
    padding: 20px 0 !important;
    background: #ffffff !important; /* Save Ink: White bg */
    color: #000000 !important;
    border-bottom: 2px solid #114d57; /* Keep branding line */
  }

  .cv-hero-modern .hero-title,
  .cv-hero-modern .hero-subtitle,
  .cv-hero-modern .hero-description,
  .cv-hero-modern .hero-contact-info .info-item span {
    color: #000000 !important; /* Force black text */
    text-shadow: none !important;
  }
  
  .cv-hero-modern .hero-contact-info .info-item i {
    color: #1b6e0e !important; /* Keep green icons */
  }

  /* 4. MAIN LAYOUT REORDERING (The Important Part) */
  .cv-content-modern {
    background: #ffffff !important;
    padding: 20px 0 !important;
  }

  .cv-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  /* --- MOVE SIDEBAR TO TOP --- */
  .cv-sidebar-column {
    order: -1 !important; /* Move to top */
    width: 100% !important;
    /* Turn vertical sidebar into horizontal grid for print header */
    display: grid !important; 
    grid-template-columns: auto 1fr 1fr !important; 
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
  }

  /* Styling the Sidebar Sections for Print */
  .cv-sidebar-column .sidebar-section {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
  }

  /* Resize Profile Photo */
  .cv-sidebar-column .profile-section .profile-photo {
    width: 100px !important;
    height: 100px !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: 2px solid #1b6e0e !important;
  }
  
  /* Hide Social Icons in Print (URLs not clickable on paper) */
  .cv-sidebar-column .profile-section .social-badges {
    display: none !important;
  }

  /* 5. MAIN CONTENT (Experience) */
  .cv-layout {
    width: 100% !important;
  }

  /* Prevent cutting jobs in half */
  .timeline-item, 
  .cv-section {
    page-break-inside: avoid; 
  }

  /* Clean up Education Grid */
  .education-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 15px;
  }

  .education-grid .edu-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }

  /* Text Colors */
  h2, h3, h4, p, li, span {
    color: #000000 !important;
  }
  
  /* Keep Accent Colors for Structure */
  .section-header h2,
  .timeline-item .timeline-content h3,
  .edu-degree {
    color: #114d57 !important;
  }
}