@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Палітра: #2C3E50 (Dark Blue), #3498DB (Blue), #E74C3C (Red accent), #ECF0F1 (Light) */
  --primary-color: #2C3E50;
  --secondary-color: #34495E;
  --accent-color: #3498DB;
  --light-color: #ECF0F1;
  --dark-color: #1a252f;
  --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
  --hover-color: #2980B9;
  --background-color: #F8F9FA;
  --text-color: #4B5563;
  --border-color: rgba(44, 62, 80, 0.2);
  --divider-color: rgba(52, 152, 219, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.15);
  --highlight-color: #E74C3C;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--alt-font);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
    font-weight: 700;
}

/* Neumorphism Cards */
.neu-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 9px 9px 18px #d1d1d1, -9px -9px 18px #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    transition: transform 0.3s ease;
}

.neu-card:hover {
    transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
}

/* Header & Nav (No JS) */
header {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#nav-toggle { display: none; }

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        z-index: 50;
    }
    #nav-toggle:checked ~ .nav-menu {
        display: flex;
        flex-direction: column;
    }
    .hamburger-icon {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: white;
    }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(52, 152, 219, 0.39);
}
.btn-primary:hover {
    background: var(--hover-color);
    transform: scale(1.02);
}

/* Timeline Feature */
.timeline-item {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--highlight-color);
    border-radius: 50%;
}

/* Forms */
input, textarea {
    background: #f0f2f5;
    border: 1px solid transparent;
    transition: all 0.3s;
    box-shadow: inset 2px 2px 5px #d1d9e6, inset -2px -2px 5px #ffffff;
}
input:focus, textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
}