/* style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors from allowed palette */
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --accent-color: #3498DB;
  --light-color: #ECF0F1;
  --dark-color: #1A252F;
  --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
  --hover-color: #1A252F;
  --background-color: #FFFFFF;
  --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.15);
  --highlight-color: #F1C40F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hover effects */
a.hover-opacity:hover {
    opacity: 0.7;
}

.neumorphic-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 20px var(--shadow-color), -12px -12px 20px #ffffff;
}

/* Mobile navigation without JS */
.navigation {
    display: none;
    width: 100%;
}

#nav-toggle:checked ~ .navigation {
    display: block;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

#nav-toggle:checked ~ .navigation ul {
    flex-direction: column;
    align-items: flex-start;
}

#nav-toggle:checked ~ .navigation ul li {
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .navigation {
        display: block !important;
        width: auto;
    }
    .nav-toggle-label {
        display: none;
    }
    #nav-toggle:checked ~ .navigation ul {
        flex-direction: row;
        align-items: center;
    }
    #nav-toggle:checked ~ .navigation ul li {
        margin: 0 1rem;
    }
}

/* Custom styles for details/summary FAQ */
details {
    transition: all 0.3s ease;
}

details[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0%    {opacity: 0; margin-top: 0px}
    100%  {opacity: 1; margin-top: 1rem}
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    line-height: 1;
}

details[open] summary::after {
    content: '-';
}

.hover-btn-v1 {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hover-btn-v1:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

input:focus, textarea:focus {
    border-color: var(--accent-color) !important;
}