@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  /* Randomly selected 4 colors from the palette: #2C3E50, #E74C3C, #ECF0F1, #34495E */
  --primary-color: #2C3E50;
  --secondary-color: #34495E;
  --accent-color: #E74C3C;
  --light-color: #ECF0F1;
  --dark-color: #1A252F; /* Darker variant of #2C3E50 */
  
  --gradient-primary: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
  --hover-color: #3D566E; /* Lighter variant of #34495E */
  --background-color: #F8F9FA;
  --text-color: #333333;
  
  --border-color: rgba(44, 62, 80, 0.2);
  --divider-color: rgba(44, 62, 80, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.1);
  --highlight-color: #F1C40F; /* Complementary color to blue/red tones */
  
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base styles resets applying CSS variables */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--alt-font);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
}

/* Neumorphism specific styles */
.neumorphic {
    background: #ffffff;
    box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.neumorphic-img {
    box-shadow: 12px 12px 24px var(--shadow-color), -12px -12px 24px #ffffff;
    border: 5px solid #ffffff;
}

/* Background Patterns */
.bg-pattern {
    background-color: var(--background-color);
    background-image: radial-gradient(var(--divider-color) 2px, transparent 2px);
    background-size: 30px 30px;
}

/* Feature Timeline specific CSS */
.wrap {
    position: relative;
}

.feature-card {
    background: #ffffff;
}

/* Hover effects */
.hover-effect {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hover-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-effect:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.hover\:text-underline:hover {
    text-decoration: underline;
}

/* Timeline Responsiveness */
@media (max-width: 768px) {
    .right-timeline, .left-timeline {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 3rem;
        position: relative;
    }
    
    .right-timeline > div:first-child, .left-timeline > div:first-child {
        display: none;
    }
    
    .right-timeline > div:nth-child(2), .left-timeline > div:nth-child(2) {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px !important;
        height: 40px !important;
    }
    
    .right-timeline > div:last-child, .left-timeline > div:last-child {
        width: 100% !important;
    }
    
    .wrap > .absolute {
        left: 20px !important;
    }
}