:root {
    --primary-blue: #2563eb;
    --dark-blue: #003366;
    --accent-orange: #f97316;
    --light-orange: #ffd6b8;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --dark-gray: #1f2937;
    --gray: #94a3b8;

    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    --gradient-orange: linear-gradient(135deg, var(--accent-orange) 0%, #ff7b25 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.container h1 {
    font-family: "DM Sans", sans-serif;
}

.container p {
    text-transform: lowercase;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.1rem;
}

/* En-tête avec effets visuels */
.services-header {
    text-transform: uppercase;
    text-align: center;
    padding: 5rem 0 3rem;
    background: var(--gradient);
    color: var(--white);
    position: relative;
}

.services-header h1 {
    margin-top: 30px;
}

.visual-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.visual-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatElement 15s infinite linear;
}

@keyframes floatElement {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.services-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.services-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.services-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.advisor-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.advisor-badge i {
    margin-right: 10px;
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* Navigation par services avec effet glassmorphisme */
.services-interface {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.services-navigation {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 20px;
}

.service-nav {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service-nav:hover {
    background: rgba(26, 54, 93, 0.03);
}

.service-nav.selected {
    color: var(--accent-orange);
}

.service-nav.selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 3px 3px 0 0;
}

/* Sélection de période avec style moderne */
.period-selection {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.period-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.period-control {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.period-control:first-child {
    border-radius: 8px 0 0 8px;
}

.period-control:last-child {
    border-radius: 0 8px 8px 0;
}

.period-control.selected {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.period-control:hover {
    border-color: var(--primary-blue);
}

.savings-badge {
    background: var(--accent-orange);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-left: 8px;
    font-weight: 700;
}

/* Grille des services avec les 3 plans sur la même ligne */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-plan {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 650px;
}

.service-plan:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.plan-header {
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.plan-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: rotate(30deg);
}

.plan-header h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.plan-cost {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cost-currency {
    font-size: 1.5rem;
    margin-right: 2px;
    margin-top: 5px;
}

.cost-interval {
    font-size: 1rem;
    opacity: 0.8;
    align-self: flex-end;
    margin-bottom: 5px;
    margin-left: 5px;
}

.plan-details {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.specifications {
    margin-bottom: 2rem;
}

.spec-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.spec-label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-label i {
    color: var(--accent-orange);
}

.spec-value {
    font-weight: 700;
    color: var(--primary-blue);
}

.inclusions-list {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.inclusion-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.inclusion-item:hover {
    transform: translateX(5px);
}

.inclusion-item i {
    color: var(--accent-orange);
    margin-right: 12px;
    background: var(--light-orange);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-actions {
    text-align: center;
    margin-top: auto;
    padding-top: 1.5rem;
}

.selection-btn {
    background: var(--gradient-orange);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.selection-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.selection-btn:hover::before {
    left: 100%;
}

.selection-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

/* Style spécial pour le plan mis en avant */
.service-plan.highlighted {
    border: 2px solid var(--accent-orange);
    transform: scale(1.03);
}

.service-plan.highlighted .plan-header {
    background: var(--gradient-orange);
}

.highlight-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    animation: pulse 2s infinite;
}

/* Sections supplémentaires */
.additional-sections {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.domain-info,
.servers-info,
.cta-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.domain-info h3,
.servers-info h3,
 {
      font-size: 1.8rem !important;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.cta-section h4{
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #FFF;
    font-weight: 700;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.server-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.server-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.server-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.server-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.server-card p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.server-card a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.server-card a i {
    margin-left: 8px;
    transition: var(--transition);
}

.server-card a:hover {
    color: var(--primary-blue);
}

.server-card a:hover i {
    transform: translateX(5px);
}

.cta-section {
    text-align: center;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: rotate(30deg);
}

.cta-section h3 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section p {
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.btn-light {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--light-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour les dialogues et formulaires */
.form-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.dialog-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #0a599b;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
}

.dialog-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #0a599b;
    font-weight: 700;
}

.dialog-subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #0a599b;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-size: 0.9rem;
}

.input-group input:focus {
    outline: none;
    border-color: #08A2DC;
    box-shadow: 0 0 0 2px rgba(8, 162, 220, 0.2);
}

.input-group input:read-only {
    background: #f0f0f0;
    color: #666;
}

.submit-action {
    background: #FF8D24;
    color: white;
    padding: 0.9rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.submit-action:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.message-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.message-container.alert h3 {
    color: red;
}

.message-container h3 {
    margin-bottom: 1rem;
    color: #0a599b;
}

.message-container p {
    margin: 0.5rem 0;
}

.message-close {
    background: #FF8D24;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.message-close:hover {
    background: #e67e22;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1rem 1.5rem 3rem;
    }

    .plan-header,
    .plan-details {
        padding: 1.5rem;
    }

    .plan-cost {
        font-size: 2.5rem;
    }

    .service-plan {
        min-height: 680px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .service-plan.highlighted {
        transform: scale(1);
    }

    .service-plan {
        min-height: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-navigation {
        flex-direction: column;
    }

    .services-header h1 {
        font-size: 2.5rem;
    }

    .services-interface {
        margin: 1rem 0;
        border-radius: 0;
    }
}

@media (max-width: 576px) {
    .services-header p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 2rem;
        opacity: 0.9;
        font-weight: 300;
    }

    .services-header {
        text-transform: uppercase;
        padding: 3rem 0 2rem;
    }

    .services-header h1 {
        text-transform: uppercase;
        font-size: 2rem;
    }

    .plan-cost {
        font-size: 2.2rem;
    }

    .plan-header,
    .plan-details {
        padding: 1.2rem;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .period-selection {
        flex-wrap: wrap;
    }

    .period-control {
        flex: 1;
        margin-bottom: 5px;
        border-radius: 8px !important;
        padding: 0.8rem 1rem;
    }

    .domain-info,
    .servers-info,
    .cta-section {
        padding: 2rem;
    }

    .services-grid {
        padding: 1rem 1rem 2rem;
    }

    .section-title {
        text-align: center;
        font-size: 1.7rem;
        margin-bottom: 3rem;
        color: var(--primary-blue);
        font-weight: 700;
        position: relative;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
    }

 
.cta-section h4{
    font-size: 1.4rem;
        margin-bottom: 1.5rem;
        color: #FFF !important;
        font-weight: 700;
}

   .ht{
            padding: 20px;
            font-size: 1.2em;
            display: flex;
            text-align: center;
            justify-content: center;

        }
        
