/* ==================== VARIABLES CSS ==================== */
:root {
    --primary-color: #2d5016;
    --secondary-color: #3d7e2a;
    --accent-color: #52b788;
    --light-accent: #95d5b2;
    --dark-color: #1b3a1f;
    --light-color: #f8faf6;
    --cream-color: #fffbf7;
    --text-color: #2d3436;
    --text-light: #636e72;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 2px 8px rgba(45, 80, 22, 0.08);
    --shadow-lg: 0 10px 30px rgba(45, 80, 22, 0.12);
    --grad-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --grad-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    --grad-light: linear-gradient(180deg, var(--light-color) 0%, var(--cream-color) 100%);
    --grad-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
}

/* ==================== STYLES GÉNÉRAUX ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--grad-light);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    letter-spacing: -0.5px;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: var(--grad-primary);
    padding: 1.2rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: var(--transition);
}

.logo-container:hover {
    opacity: 0.85;
}

.logo {
    width: 50px;
    height: 50px;
    background: white;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-name {
    font-size: 1.3rem;
    color: white;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a:hover {
    color: var(--light-accent);
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 260px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.8rem;
    z-index: 1000;
    animation: dropdownSlide 0.3s ease;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.25);
}

.btn-primary:hover {
    background: var(--grad-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--text-color) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 110, 114, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--dark-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.2);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* ==================== FORMULAIRES ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

label .required {
    color: #e74c3c;
    margin-left: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.95rem;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.1);
    background: white;
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-success {
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--grad-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--light-accent);
    font-weight: 700;
    font-size: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--light-accent);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-logo {
    display: inline-block;
    transition: var(--transition);
}

.footer-logo img {
    width: 120px;
    height: 120px;
    max-width: 100%;
    opacity: 0.85;
    transition: var(--transition);
    object-fit: contain;
}

.footer-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.footer-certifications {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: var(--grad-primary);
    color: white;
    padding: 3.5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-2 { padding-top: 1rem; }
.pt-4 { padding-top: 2rem; }

.pb-2 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 2rem; }

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets - Medium devices (992px and down) */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.1em;
    }
}

/* Tablets - Small devices (768px and down) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .nav-menu {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: var(--transition);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem;
    }

    .dropdown-menu {
        position: fixed;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: 90%;
        max-width: 280px;
    }
}

/* Mobile devices (640px and down) */
@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 15px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }

    .navbar .container {
        padding: 0.8rem 0;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .company-name {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .nav-menu li a {
        padding: 0.4rem 0.8rem;
    }

    section {
        padding: 3rem 0 !important;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    input, textarea, select {
        padding: 0.7rem 0.8rem !important;
        font-size: 0.95rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.8rem !important;
    }
}

/* Small phones (480px and down) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        line-height: 1.5;
    }

    .container {
        padding: 0 12px;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.9rem; }

    .navbar {
        padding: 0.8rem 0;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0;
    }

    .logo-container {
        gap: 8px;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .company-name {
        font-size: 0.95rem;
    }

    .nav-menu {
        width: 100%;
        gap: 0.3rem;
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .nav-menu li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    p {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }

    section {
        padding: 2rem 0 !important;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    input, textarea, select {
        padding: 0.6rem 0.7rem !important;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    textarea {
        min-height: 100px;
    }

    .btn, button {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.7rem !important;
    }

    .mt-1 { margin-top: 0.3rem !important; }
    .mt-2 { margin-top: 0.5rem !important; }
    .mt-3 { margin-top: 0.8rem !important; }
    .mt-4 { margin-top: 1rem !important; }

    .mb-1 { margin-bottom: 0.3rem !important; }
    .mb-2 { margin-bottom: 0.5rem !important; }
    .mb-3 { margin-bottom: 0.8rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
}

/* Ultra-small phones (360px and down) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 10px;
    }

    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.1rem; }

    .company-name {
        font-size: 0.9rem;
    }

    .nav-menu li a {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }

    input, textarea, select {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.85rem;
    }

    .btn, button {
        padding: 0.6rem !important;
        font-size: 0.8rem;
    }
}


/* ==================== NAVIGATION ==================== */
.navbar {
    background: var(--grad-primary);
    padding: 1.2rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.logo {
    width: 50px;
    height: 50px;
    background: white;
    padding: 5px;
    border-radius: 50%;
}

.company-name {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--light-accent);
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--grad-primary);
    list-style: none;
    min-width: 280px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.8rem 0;
    margin-top: 0.8rem;
    z-index: 1000;
    animation: dropdownSlide 0.3s ease;
    border: 2px solid var(--accent-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(82, 183, 136, 0.2);
    padding-left: 2rem;
}

img {
    max-width: 175%;
    height: auto;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--grad-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(82, 183, 136, 0.3);
}

.btn-primary:hover {
    background: var(--grad-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--text-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 110, 114, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--dark-color) 100%);
    transform: translateY(-2px);
}

/* ==================== FORMULAIRES ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.85rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.15);
    background: rgba(82, 183, 136, 0.02);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--grad-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 5px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light-accent);
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--light-accent);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: var(--grad-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .dropdown-menu {
        position: fixed;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.opacity-5 { opacity: 0.5; }
.opacity-7 { opacity: 0.7; }
.opacity-9 { opacity: 0.9; }

.hidden { display: none !important; }
.visible { display: block !important; }

.success-message,
.error-message,
.warning-message,
.info-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #f5c6cb;
}

.warning-message {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.info-message {
    background: #d1ecf1;
    color: #0c5460;
    border-left-color: #bee5eb;
}

/* ==================== HOTFIX NAV MOBILE + OVERFLOW ==================== */
.hamburger {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        position: relative;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0;
    }

    .logo {
        width: 42px;
        height: 42px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: var(--transition);
    }

    .nav-menu {
        display: none !important;
        width: 100%;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--grad-primary);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        padding: 0.6rem;
        gap: 0.3rem;
    }

    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 0.75rem 0.9rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: row !important;
        gap: 0.6rem;
    }

    .company-name {
        font-size: 1rem;
    }

    .logo {
        width: 38px;
        height: 38px;
    }
}
