/* Design System & Variables */
:root {
    --primary-color: #0a192f;
    /* Deep Navy */
    --secondary-color: #f5a623;
    /* Industrial Yellow/Orange */
    --accent-color: #64ffda;
    /* Teal accent for premium feel */
    --text-color: #8892b0;
    /* Soft grey for text */
    --heading-color: #ccd6f6;
    /* Light grey for headings */
    --bg-color: #020c1b;
    /* Very dark navy background */
    --card-bg: #112240;
    /* Slightly lighter navy for cards */
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn:hover {
    background: rgba(245, 166, 35, 0.1);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #d48c1e;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* Ensure button text color remains correct even when active in nav */
.nav-links a.btn-primary,
.nav-links a.btn-primary.active,
.nav-links a.btn-primary:hover {
    color: var(--bg-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Footer */
footer {
    background: var(--primary-color);
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }
}

/* Sticky Notes Testimonials */
.sticky-notes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.sticky-note {
    background-color: #fcfc99;
    color: #333;
    padding: 2rem 1.5rem 1.5rem;
    width: 280px;
    min-height: 280px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease, z-index 0s;
    font-size: 0.95rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    border-bottom-right-radius: 40px 5px;
}

.sticky-note:nth-child(even) {
    transform: rotate(3deg);
    background-color: #ffd8ec;
}

.sticky-note:nth-child(3n) {
    transform: rotate(-3deg);
    background-color: #cdffcc;
}

.sticky-note:nth-child(4n) {
    transform: rotate(4deg);
    background-color: #cceeff;
}

.sticky-note:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.4);
}

/* Tape effect at the top center of sticky note */
.sticky-note::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 80px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.sticky-note p {
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sticky-note .author {
    font-weight: 700;
    text-align: right;
    font-style: italic;
    color: #444;
}