:root {
    --primary-navy: #1a2332;
    --primary-blue: #2c5282;
    --trust-blue: #4a90d9;
    --terracotta: #d97748;
    --soft-gold: #e8b44f;
    --sage-green: #7d9c7a;
    --charcoal: #2d3748;
    --medium-grey: #718096;
    --light-grey: #e2e8f0;
    --off-white: #f7fafc;
    --pure-white: #ffffff;
    --success-green: #48bb78;
    --alert-orange: #ed8936;
    --info-blue: #4299e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--off-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--trust-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--trust-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.language-switcher .lang-link {
    padding: 8px 16px;
    background-color: var(--primary-blue);
    color: var(--pure-white);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-switcher .lang-link:hover {
    background-color: var(--trust-blue);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal);
    margin: 3px 0;
    transition: all 0.3s ease;
}

main {
    margin-top: 80px;
}

.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-grey) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--medium-grey);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-metrics {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--trust-blue);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--terracotta);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 72, 0.3);
}

.cta-button:hover {
    background-color: var(--soft-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 180, 79, 0.4);
}

.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.services-section {
    padding: 100px 0;
    background-color: var(--pure-white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-grey);
    line-height: 1.8;
}

.services-comparison {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 30px;
    align-items: center;
    padding: 40px;
    background-color: var(--off-white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.comparison-item.reverse {
    grid-template-columns: 1fr 80px 1fr;
}

.comparison-before,
.comparison-after {
    padding: 20px;
}

.comparison-before h3,
.comparison-after h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.comparison-before img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comparison-details h4 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.comparison-details ul {
    list-style: none;
}

.comparison-details ul li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--charcoal);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comparison-details ul li i {
    margin-top: 5px;
    flex-shrink: 0;
}

.comparison-before ul li i {
    color: var(--alert-orange);
}

.comparison-after ul li i {
    color: var(--success-green);
}

.comparison-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.comparison-arrow i {
    font-size: 2.5rem;
    color: var(--trust-blue);
}

.comparison-metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.metric-box {
    flex: 1;
    min-width: 120px;
    padding: 20px;
    background-color: var(--pure-white);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--trust-blue);
    margin-bottom: 5px;
}

.metric-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-grey);
}

.formation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--off-white) 100%);
}

.formation-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.formation-intro {
    font-size: 1.1rem;
    color: var(--medium-grey);
    line-height: 1.8;
    margin-bottom: 40px;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.course-card {
    background-color: var(--pure-white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--trust-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 2rem;
    color: var(--pure-white);
}

.course-card h3 {
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.course-card p {
    font-size: 1rem;
    color: var(--medium-grey);
    line-height: 1.8;
    margin-bottom: 20px;
}

.course-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--charcoal);
    font-size: 0.95rem;
}

.course-details li i {
    color: var(--trust-blue);
}

.formation-image {
    position: relative;
}

.formation-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.formation-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--trust-blue);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-grey);
    margin-top: 5px;
}

.gallery-section {
    padding: 100px 0;
    background-color: var(--pure-white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background-color: var(--light-grey);
    border: none;
    border-radius: 25px;
    color: var(--charcoal);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--trust-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.95) 0%, transparent 100%);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--pure-white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: var(--light-grey);
    font-size: 0.95rem;
}

.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-grey) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--medium-grey);
    line-height: 1.8;
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--trust-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--pure-white);
    font-size: 1.3rem;
}

.info-content h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.info-content p {
    color: var(--medium-grey);
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-container {
    background-color: var(--pure-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--charcoal);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-grey);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--trust-blue);
    box-shadow: 0 0 0 3px rgba(74,144,217,0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--medium-grey);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--trust-blue);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--terracotta);
    color: var(--pure-white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--soft-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232,180,79,0.3);
}

.footer {
    background-color: var(--primary-navy);
    color: var(--light-grey);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--pure-white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--trust-blue);
}

.footer-column ul li i {
    margin-right: 10px;
    color: var(--trust-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(226,232,240,0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-navy);
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--light-grey);
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--success-green);
    color: var(--pure-white);
}

.cookie-accept:hover {
    background-color: #38a169;
}

.cookie-settings {
    background-color: var(--light-grey);
    color: var(--charcoal);
}

.cookie-settings:hover {
    background-color: var(--medium-grey);
    color: var(--pure-white);
}

.cookie-reject {
    background-color: transparent;
    color: var(--light-grey);
    border: 2px solid var(--light-grey);
}

.cookie-reject:hover {
    background-color: var(--light-grey);
    color: var(--charcoal);
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.cookie-modal-content {
    background-color: var(--pure-white);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h2 {
    color: var(--primary-navy);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--off-white);
    border-radius: 8px;
}

.cookie-category-header {
    margin-bottom: 10px;
}

.cookie-category-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-navy);
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-category p {
    color: var(--medium-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-green), var(--sage-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon i {
    font-size: 3rem;
    color: var(--pure-white);
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--medium-grey);
    line-height: 1.8;
    margin-bottom: 20px;
}

.thanks-submessage {
    font-size: 1.1rem;
    color: var(--medium-grey);
    line-height: 1.8;
    margin-bottom: 40px;
}

.thanks-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.info-box {
    padding: 30px;
    background-color: var(--off-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.info-box p {
    color: var(--medium-grey);
    font-size: 0.95rem;
}

.back-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--trust-blue);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

.legal-page {
    padding: 60px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--pure-white);
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.legal-update {
    color: var(--medium-grey);
    font-style: italic;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-grey);
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin: 25px 0 15px;
}

.legal-section p {
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.legal-section ul li {
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-section a {
    color: var(--trust-blue);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--pure-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-grid,
    .services-comparison .comparison-item,
    .formation-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .comparison-item {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 20px;
    }

    .thanks-content h1 {
        font-size: 2rem;
    }

    .thanks-info {
        grid-template-columns: 1fr;
    }
}

.iti {
    width: 100%;
}

.iti__flag-container {
    width: 80px;
}

input[type="tel"] {
    padding-left: 90px !important;
}