/* Base et variables */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2ecc71;
    --text-color: #333;
    --bg-color: #ffffff;
    --box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --hover-color: #27ae60;
    --animation-duration: 0.5s;
}

/* Styles unifiés pour logo et navigation */
body header .logo a,
body .menu-principal h1 {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.5rem;
}

body header .logo a i,
body .menu-principal h1 i {
    color: var(--primary-color);
}

body .menu-principal h1 {
    font-size: 2.5rem;
}

/* Styles de base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Header et Navigation */
header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo a:hover {
    color: var(--primary-color);
}

header .logo a,
.menu-principal h1 {
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--primary-color);
    background: rgba(46, 204, 113, 0.1);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.social-icons a {
    color: var(--primary-color);
}

/* Styles communs pour les sections de contact */
.contact-common {
    text-align: center;
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    max-width: 1200px;
}

.contact-common h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Style spécifique pour la section "Nous Contacter" de la page d'accueil */
#contact {
    background: #f9f9f9;
    text-align: center;
}

#contact h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#contact h2 i {
    color: var(--primary-color);
}

#contact .contact-info {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    padding: 1.5rem;
    flex-wrap: wrap;
}

#contact .contact-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#contact .contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

#contact .contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

#contact .contact-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

#contact .contact-item p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Styles spécifiques pour les sections "Demander un Devis" et "Contactez-nous" des pages informatique et musique */
.contact-section {
    background: #f9f9f9;
}

.contact-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-contact:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    color: white;
}

.btn-contact i {
    font-size: 1.2rem;
}

/* Sections Communes */
.services, .technician, .reviews, .contact, .legal {
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1400px;
}

/* Section Services */
.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.service {
    flex: 1;
    max-width: 45%;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service a {
    text-decoration: none;
    color: inherit;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service h3 {
    color: var(--primary-color);
    margin: 1rem;
}

.service p {
    color: #666;
    padding: 0 1rem 1rem;
}

/* Section Technicien */
.technician .container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: stretch;
}

.technician .photos,
.technician .presentation {
    flex: 1;
    max-width: 45%;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.technician .photos {
    justify-content: center;
    align-items: center;
}

.technician .photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.technician .presentation .section-content {
    text-align: left;
    padding: 1rem;
    flex-grow: 1;
}

.technician h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.technician h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.technician h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Section Reviews */
.reviews {
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin: 2rem auto;
    text-align: center;
    max-width: 1250px;
}

.review-stats {
    text-align: center;
}

.rating {
    color: #ffd700;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.btn-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
}

.btn-reviews:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    color: white;
}

.btn-reviews i {
    font-size: 0.9rem;
}

/* Note Importante */
#important-note {
    text-align: center;
}

.important-note h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.note {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.text1, .text2, .text3 {
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.text1:hover, .text2:hover, .text3:hover {
    transform: translateY(-5px);
}

.note i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact */
.contact-section {
    text-align: center;
    margin: 3rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    max-width: 1200px;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-contact:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    color: white;
}

.btn-contact i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Media Queries pour le menu mobile */
@media (max-width: 768px) {
    body {
        font-size: 15px;
        padding-top: 60px;
    }

    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    header {
        padding: 1rem;
    }
    
    /* Centrage des icônes des réseaux sociaux uniquement */
    .social-icons {
        position: absolute;
        left: 70%;
        transform: translateX(-50%);
        justify-content: center;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        transition: 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        width: 100%;
        padding: 1rem;
        justify-content: center;
        font-size: 1.1rem;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .services-container {
        flex-direction: column;
        padding: 1rem;
    }

    .service {
        max-width: 100%;
        margin: 1rem 0;
    }

    .technician .container {
        flex-direction: column;
        padding: 1rem;
    }

    .technician .photos,
    .technician .presentation {
        max-width: 100%;
    }

    .technician .photos img {
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }

    .contact-info {
        flex-direction: column;
        padding: 1rem;
    }

    .contact-item {
        width: 100%;
        margin: 0.5rem 0;
    }

    footer ul {
        flex-direction: column;
        gap: 1rem;
    }

    /* Overlay pour le menu mobile */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 998;
        pointer-events: none;
    }

    body.menu-open::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Styles pour la page Mentions Légales */
.legal {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    scroll-behavior: smooth;
    margin-top: 1rem;
}

.legal h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.legal p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal ul {
    list-style: none;
    padding-left: 0;
}

.legal li {
    margin-bottom: 0.5rem;
}

.legal a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

/* Style pour les infos de contact dans les mentions légales */
.legal-contact {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.legal-contact i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 10px;
}

.legal-contact strong {
    color: var(--primary-color);
    font-size: 1.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.legal h2 i {
    margin-right: 15px;
    color: var(--primary-color);
}

.legal h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.legal p a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(46, 204, 113, 0.1);
}

/* Animation d'entrée pour les sections */
.legal section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Style pour les sections */
.legal section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Navigation interne mentions légales */
.legal-nav {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.legal-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: center;
    min-width: min-content;
    padding: 0.5rem;
}

.legal-nav li {
    margin: 0;
    white-space: nowrap;
}

.legal-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legal-nav a:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.legal-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.legal-nav a:hover::after {
    transform: scaleX(1);
}

.legal-nav i {
    margin-right: 8px;
}

.legal a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.legal-nav a:focus {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.legal-nav a.active {
    background: var(--primary-color);
    color: white;
}

.legal-nav a.active::after {
    transform: scaleX(1);
    background-color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Styles pour la page Informatique */
.hero-section {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95), rgba(46, 204, 113, 0.7));
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin: 0 auto 2rem auto;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.services-grid, .tarifs-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.tarifs-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 1rem;
}

.service-card, .tarif-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover, .tarif-card:hover {
    transform: translateY(-10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i,
.service-icon i {
    font-size: 3rem;
    color: var(--primary-color) !important; /* Force la couleur verte */
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
    display: inline-block; /* Important pour que l'animation fonctionne */
}

.service-card:hover i,
.service:hover .service-icon i {
    transform: scale(1.2) rotate(360deg);
    color: var(--primary-color) !important; /* Force la couleur verte au survol */
}

/* Animation des icônes dans Services */
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}

.service:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.5rem 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.service-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tarifs {
    padding: 4rem 2rem;
    background: #f9f9f9;
    margin: 2rem 0;
    text-align: center;
}

.tarifs h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.tarif-card h3 {
    margin-bottom: 1rem;
}

.tarif-card .prix {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 1.5rem 0;
}

.tarif-card .detail {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Media Queries pour les pages services */
@media (max-width: 992px) {
    .tarifs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin: 0;
        border-radius: 0;
        padding: 2rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    /* Style uniquement pour les cartes de service en mobile, sans affecter les tarifs */
    .services-grid .service-card {
        height: auto;
        min-height: 320px;
        margin: 0 auto 1.5rem;
        width: 90%;
        max-width: 400px;
    }

    /* Force la même taille pour toutes les cartes de service en mobile uniquement */
    .services-grid .service-card ul {
        flex: 1;
        height: auto;
        min-height: 200px;
        max-height: 200px;
        overflow-y: auto;
        margin: 1rem 0;
        padding-right: 5px;
    }

    /* Style de la barre de défilement seulement pour les cartes de service */
    .services-grid .service-card ul::-webkit-scrollbar {
        width: 4px;
    }

    .services-grid .service-card ul::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .services-grid .service-card ul::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    /* Garde le style original pour les cartes de tarifs */
    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tarif-card {
        min-height: 220px;
        height: auto;
        margin: 0 auto 2rem;
        width: 100%;
        padding: 1.5rem;
        max-width: 400px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}


@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .logo {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }

    .contact-item i {
        font-size: 2rem;
    }

    .note {
        padding: 0.5rem;
    }

    .text1, .text2, .text3 {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
}

.welcome-banner {
    text-align: center;
    margin: 2rem auto;
    padding: 2rem;
}

.welcome-banner h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--hover-color);
    transform: translateY(-5px);
}
