/* style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors carefully selected for high contrast and modern look */
  --primary-color: #1ABC9C;
  --secondary-color: #2C3E50;
  --accent-color: #E74C3C;
  --light-color: #FFFFFF;
  --dark-color: #1A252F;
  
  --gradient-primary: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
  --hover-color: #16A085;
  --background-color: #ECF0F1;
  --text-color: #333333;
  
  --border-color: rgba(44, 62, 80, 0.15);
  --divider-color: rgba(26, 188, 156, 0.2);
  --shadow-color: rgba(44, 62, 80, 0.1);
  --highlight-color: #F1C40F;
  
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Global Typography */
.font-heading { font-family: var(--main-font); }
.font-body { font-family: var(--alt-font); }

html { scroll-behavior: smooth; }
body { background-color: var(--background-color); color: var(--text-color); }

/* Utilities */
.hover-underline { position: relative; }
.hover-underline::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -2px; left: 0; background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.hover-underline:hover::after { width: 100%; }
.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: translateY(-3px); }

/* Neumorphism specific styling */
.neumorphic-card {
    background: var(--background-color);
    box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px var(--light-color);
    border: 1px solid var(--light-color);
    transition: all 0.3s ease;
}
.neumorphic-card:hover {
    box-shadow: 12px 12px 20px var(--shadow-color), -12px -12px 20px var(--light-color);
    transform: translateY(-2px);
}
.neumorphic-image {
    box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px var(--light-color);
}

/* Mobile Menu via Checkbox trick */
.nav-menu { display: none; }
#menu-toggle:checked ~ .nav-menu { display: flex; }
@media (min-width: 768px) { .nav-menu { display: flex; } }

/* Timeline styling purely in CSS */
.timeline::after {
    content: ''; position: absolute; width: 4px;
    background-color: var(--primary-color);
    top: 0; bottom: 0; left: 50%; margin-left: -2px;
    border-radius: 4px;
}
.timeline-container { padding: 10px 40px; position: relative; width: 50%; }
.timeline-container::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    right: -10px; background-color: var(--background-color);
    border: 4px solid var(--primary-color); top: 15px; border-radius: 50%; z-index: 1;
}
.left-container { left: 0; }
.right-container { left: 0%; }
.right-container::after { left: -10px; }

@media screen and (max-width: 767px) {
    .timeline::after { left: 31px; }
    .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-container::after { left: 21px; }
    .right-container { left: 0%; }
    .left-container .neumorphic-card { text-align: left; }
}