@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  /* Colorful palette selection */
  --primary-color: #59057B;
  --secondary-color: #0F1021;
  --accent-color: #D01257;
  --light-color: #F2F2F2;
  --dark-color: #080912;
  
  --gradient-primary: linear-gradient(135deg, #D01257 0%, #59057B 100%);
  --hover-color: #7a07a8;
  --background-color: #FFFFFF;
  --text-color: #0F1021;
  
  --border-color: rgba(89, 5, 123, 0.2);
  --divider-color: rgba(208, 18, 87, 0.1);
  --shadow-color: rgba(15, 16, 33, 0.12);
  --highlight-color: #12D08B; /* Complementary green */
  
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

/* Base global styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--alt-font);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
    letter-spacing: 0.5px;
}

/* Neumorphism (Soft UI) */
.neumorphic {
    background: #ffffff;
    box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.neumorphic-img {
    box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px #ffffff;
    border: 8px solid #ffffff;
}

/* Background Patterns */
.bg-pattern {
    background-color: #fafafa;
    background-image: radial-gradient(var(--divider-color) 2px, transparent 2px);
    background-size: 40px 40px;
}

/* Feature Timeline specific CSS */
.wrap {
    position: relative;
}

/* Hover effects */
.hover-effect {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

.hover-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hover-effect:hover {
    color: var(--accent-color);
}

.hover-effect:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Timeline Responsiveness */
@media (max-width: 768px) {
    .right-timeline, .left-timeline {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 3.5rem;
        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: 45px !important;
        height: 45px !important;
        border-width: 2px !important;
    }
    
    .right-timeline > div:last-child, .left-timeline > div:last-child {
        width: 100% !important;
    }
    
    .wrap > .absolute {
        left: 22px !important;
    }
}