/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --primary-color-rgb: 46, 204, 113;
    --secondary-color: #27ae60;
    --energy-color: #f39c12;
    --energy-light: #fdebd0;
    --water-color: #3498db;
    --water-light: #d6eaf8;
    --structure-color: #16a085;
    --structure-light: #e8f8f5;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --text-color: #333;
    --bg-color: #fff;
    --bg-alt-color: #f9f9f9;
    --header-overlay: rgba(0, 0, 0, 0.75);
    --card-bg: #fff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Mode sombre */
[data-theme="dark"] {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --energy-color: #f39c12;
    --water-color: #3498db;
    --structure-color: #16a085;
    --text-color: #ecf0f1;
    --bg-color: #121212;
    --bg-alt-color: #1e1e1e;
    --header-overlay: rgba(0, 0, 0, 0.85);
    --card-bg: #242424;
    --card-shadow: rgba(0, 0, 0, 0.7);
    --dark-color: #ecf0f1;
    --light-color: #2c2c2c;
    --gray-color: #aaa;
    --footer-bg: #1a1a1a;
    --input-bg: #333;
    --input-border: #444;
    --input-text: #ecf0f1;
    --active-link-bg: #2ecc71;
    --active-link-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 5rem 0;
}

.bg-alt {
    background-color: var(--bg-alt-color);
}

/* Header & Navigation */
header {
    position: relative;
    background: linear-gradient(var(--header-overlay), var(--header-overlay)), url('img/logo AutonHome.jpg');
    background-size: 150%;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

nav.scrolled .logo,
nav.scrolled .nav-links li a {
    color: var(--dark-color);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    gap: 0.8rem;
}

.nav-links li {
    margin: 0;
}

.nav-links li a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 30px;
    display: block;
    background: transparent;
}

.nav-links li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links li a.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

nav.scrolled .nav-links li a {
    color: var(--dark-color);
}

nav.scrolled .nav-links li a:hover {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
}

nav.scrolled .nav-links li a.active {
    background: var(--primary-color);
    color: #fff;
}

.burger {
    display: none;
}

.burger:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.burger div {
    width: 25px;
    height: 2px;
    margin: 4px 0;
    transition: all 0.3s ease;
    position: relative;
    background-color: #fff;
}

/* Animation du burger modernisée */
.burger.toggle div:nth-child(1) {
    transform: translateY(6px) rotate(-45deg);
}

.burger.toggle div:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.burger.toggle div:nth-child(3) {
    transform: translateY(-6px) rotate(45deg);
}

/* Menu mobile sombre */
[data-theme="dark"] .burger div {
    background-color: #fff;
}

[data-theme="dark"] nav:not(.scrolled) .nav-links li a {
    color: #fff;
    background: transparent;
}

[data-theme="dark"] nav:not(.scrolled) .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

[data-theme="dark"] nav:not(.scrolled) .nav-links li a.active {
    color: #fff;
    background: rgba(46, 204, 113, 0.4);
}

/* Style pour les liens du menu en mode sombre quand on a scrollé */
[data-theme="dark"] nav.scrolled {
    background-color: var(--card-bg);
}

[data-theme="dark"] nav.scrolled .nav-links li a {
    color: #fff;
}

[data-theme="dark"] nav.scrolled .nav-links li a:hover {
    background: rgba(46, 204, 113, 0.2);
}

[data-theme="dark"] nav.scrolled .nav-links li a.active {
    background: var(--primary-color);
    color: #fff;
}

/* Menu mobile - Styles spécifiques */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        flex-direction: column;
        background-color: #fff;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding-top: 70px;
        transition: right 0.3s ease-in-out;
        align-items: flex-start;
        padding-left: 30px;
        overflow-y: auto;
        padding-bottom: 100px;
    }
    
    .nav-links li {
        width: 100%;
        margin: 10px 0;
        opacity: 0;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
        width: 90%;
    }
    
    .nav-links li a:active {
        background-color: rgba(46, 204, 113, 0.1);
        transform: scale(0.98);
    }
    
    .nav-links li a.active {
        color: var(--primary-color);
        font-weight: bold;
        border-left: 4px solid var(--primary-color);
        padding-left: 16px;
        background-color: rgba(46, 204, 113, 0.1);
    }
    
    [data-theme="dark"] .nav-links {
        background-color: #242424;
    }
    
    [data-theme="dark"] .nav-links li a:active {
        background-color: rgba(46, 204, 113, 0.2);
    }
    
    [data-theme="dark"] .nav-links li a {
        color: #fff;
    }
    
    [data-theme="dark"] .nav-links li a.active {
        background-color: rgba(46, 204, 113, 0.2);
    }
    
    .nav-active {
        right: 0 !important;
    }
    
    .burger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        width: 30px;
        height: 25px;
        position: relative;
    }
    
    .burger div {
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 3px;
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .burger div:nth-child(1) {
        top: 0;
    }
    
    .burger div:nth-child(2) {
        top: 10px;
    }
    
    .burger div:nth-child(3) {
        top: 20px;
    }
    
    [data-theme="dark"] .burger div {
        background-color: #fff;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .burger.toggle div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.toggle div:nth-child(2) {
        opacity: 0;
    }
    
    .burger.toggle div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Style du darkModeToggle dans le menu mobile */
    #darkModeToggle {
        margin-top: 20px;
        font-size: 1.5rem;
        padding: 12px;
        border-radius: 50%;
        background-color: rgba(46, 204, 113, 0.1);
        display: inline-block;
    }
    
    [data-theme="dark"] #darkModeToggle {
        background-color: rgba(46, 204, 113, 0.2);
    }
    
    /* Indicateur de navigation pour montrer où on se trouve */
    .nav-indicator {
        position: absolute;
        margin-top: 5px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: var(--primary-color);
        left: 5px;
        opacity: 0;
    }
    
    .nav-links li a.active .nav-indicator {
        opacity: 1;
    }
}

/* Bouton mode sombre */
.theme-toggle {
    margin-left: 20px;
    margin-right: 20px;
}

#darkModeToggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

#darkModeToggle:hover {
    transform: rotate(15deg);
    background-color: rgba(255, 255, 255, 0.2);
}

#darkModeToggle:active {
    transform: scale(0.9) rotate(15deg);
}

#darkModeToggle i {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.fa-moon, .fa-sun {
    position: absolute;
}

nav.scrolled #darkModeToggle {
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sections Layout */
.flex-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-container {
    flex: 1;
}

.rounded-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Two Columns Layout */
.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.column h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
}

.column ul {
    margin-top: 1rem;
}

.column ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.column ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
}

.btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    text-align: center;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.footer-section ul li a {
    color: #fff;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-align: center;
}

.contact-email {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-email i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 1rem;
    opacity: 0.9;
}

.footer-bottom .fa-heart {
    color: #e74c3c;
    margin: 0 0.3rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--light-color);
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: #fff;
        width: 100%;
        flex-direction: column;
        align-items: center;
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        color: var(--dark-color);
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateY(0);
    }

    .flex-container,
    .flex-container.reverse {
        flex-direction: column;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .section {
        padding: 3rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .theme-toggle {
        margin-right: 10px;
    }

    #darkModeToggle {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .diagramme-container {
        padding: 1rem;
    }
    
    .diagramme-container h3 {
        font-size: 1.2rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .app-showcase {
        margin-top: 2rem;
    }
    
    .app-screens {
        flex-direction: column;
    }
    
    .app-screen {
        max-width: none;
    }
    
    .maquette-showcase {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "img1"
            "img2"
            "desc";
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Burger Animation */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links li a.active {
    color: var(--primary-color);
}

/* Diagrammes Section */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.diagramme-container {
    margin-bottom: 3rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--card-shadow);
}

.diagramme-container h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.diagramme-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--card-shadow);
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

.diagramme-description {
    font-style: italic;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--card-shadow);
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--card-shadow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.feature-card:hover::before {
    width: 10px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--dark-color);
}

/* App Showcase - More Modern Style */
.app-showcase {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-alt-color), var(--bg-color));
    border-radius: 30px;
    box-shadow: 0 20px 40px var(--card-shadow);
    overflow: hidden;
}

.app-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.8), transparent 60%);
    z-index: 0;
}

.app-devices {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2rem;
}

.app-device {
    position: relative;
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    max-width: 280px;
}

.app-device:nth-child(2) {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
}

.app-device:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-15px);
    z-index: 5;
}

.device-frame {
    position: relative;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 0;
    box-shadow: 0 25px 50px var(--card-shadow), 
                0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border: none;
}

.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    background: #000;
    border-radius: 0 0 15px 15px;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-camera {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.device-screen {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    aspect-ratio: 9/19;
}

.app-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 36px;
}

.app-device:hover .app-image {
    transform: scale(1.05);
}

.device-button {
    position: absolute;
    right: -2px;
    top: 120px;
    width: 4px;
    height: 35px;
    background: #1a1a1a;
    border-radius: 4px 0 0 4px;
    z-index: 3;
}

.device-details {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--dark-color);
    font-weight: 600;
    background: white;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--card-shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.app-device:hover .device-details {
    opacity: 1;
    transform: translateY(0);
}

.app-features {
    margin-top: 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.app-feature {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.app-feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), transparent);
    z-index: 0;
}

.app-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--card-shadow);
}

.app-feature .feature-icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}

.app-feature h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.app-feature p {
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.comparison-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 3rem;
    padding: 1rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px var(--card-shadow);
    min-width: 600px; /* Ensure table doesn't get too narrow on mobile */
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-alt-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.comparison-table td {
    font-size: 1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-alt-color);
}

.autonhome-col {
    background-color: rgba(46, 204, 113, 0.05);
}

.check-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.x-icon {
    color: #e74c3c;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    header {
        background-size: 250%;
    }

    .app-devices {
        flex-direction: column;
        gap: 6rem;
        margin-bottom: 3rem;
    }
    
    .app-device {
        transform: none !important;
        max-width: 250px;
    }
    
    .app-device:hover {
        transform: translateY(-10px) !important;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .device-details {
        opacity: 1;
        transform: translateY(0);
        position: relative;
        bottom: auto;
        margin-top: 15px;
        border-radius: 10px;
    }

    .comparison-container {
        padding: 0;
        margin-top: 2rem;
        border-radius: 0;
    }
    
    .comparison-table {
        border-radius: 0;
        min-width: 500px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .app-showcase {
        padding: 1.5rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .app-devices {
        gap: 3rem;
    }
    
    .app-device {
        max-width: 220px;
    }
    
    .app-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Maquette Showcase */
.maquette-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        "img1 img2"
        "desc desc";
    gap: 1.5rem;
}

.maquette-image:first-child {
    grid-area: img1;
}

.maquette-image:nth-child(2) {
    grid-area: img2;
}

.maquette-description {
    grid-area: desc;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--card-shadow);
}

.maquette-description p {
    margin-bottom: 1rem;
}

.maquette-description p:last-child {
    margin-bottom: 0;
}

/* Lightbox */
.lightbox-img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-img:hover {
    opacity: 0.9;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 2001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Contact Info */
.contact-email {
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.contact-email i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Energy Section */
#energie {
    background: linear-gradient(135deg, var(--energy-light), white);
}

#energie .section-title {
    color: var(--energy-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

#energie .section-title i {
    font-size: 2rem;
}

#energie .feature-card {
    border-top: 4px solid var(--energy-color);
}

#energie .feature-card::before {
    background-color: var(--energy-color);
}

#energie .feature-icon {
    color: var(--energy-color);
}

#energie .feature-icon::after {
    background-color: rgba(243, 156, 18, 0.1);
}

/* Water Section */
#eau {
    background: linear-gradient(135deg, var(--water-light), white);
}

#eau .section-title {
    color: var(--water-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

#eau .section-title i {
    font-size: 2rem;
}

#eau .feature-card {
    border-top: 4px solid var(--water-color);
}

#eau .feature-card::before {
    background-color: var(--water-color);
}

#eau .feature-icon {
    color: var(--water-color);
}

#eau .feature-icon::after {
    background-color: rgba(52, 152, 219, 0.1);
}

/* Domotique title */
#domotique .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

#domotique .section-title i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Section titles general styling */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

/* Structure Section */
#structure {
    background: linear-gradient(135deg, var(--structure-light), white);
}

#structure .section-title {
    color: var(--structure-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

#structure .section-title i {
    font-size: 2rem;
}

#structure .feature-card {
    border-top: 4px solid var(--structure-color);
}

#structure .feature-card::before {
    background-color: var(--structure-color);
}

#structure .feature-icon {
    color: var(--structure-color);
}

#structure .feature-icon::after {
    background-color: rgba(22, 160, 133, 0.1);
}

/* Presentation Content */
.presentation-content {
    position: relative;
    padding: 3rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px var(--card-shadow);
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
}

.presentation-content p {
    position: relative;
    margin-bottom: 1.8rem;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.presentation-content p:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.presentation-content p:last-child {
    margin-bottom: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--card-shadow);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .presentation-content {
        padding: 1.5rem;
    }
    
    .presentation-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .app-screens {
        grid-template-columns: 1fr;
    }
    
    .app-screen:hover {
        transform: translateY(-10px);
    }
    
    .screen-caption {
        opacity: 1;
        background: rgba(0, 0, 0, 0.7);
        padding: 0.8rem;
        transform: translateY(0);
    }
}

/* Réorganisation de la section domotique */
#domotique .flex-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

#domotique .text-content {
    flex: 0.8;
}

#domotique .app-showcase {
    flex: 1.2;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    #domotique .flex-container {
        flex-direction: column;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-devices {
        flex-direction: column;
        gap: 4rem;
        margin-bottom: 3rem;
    }
}

/* Ajout des transitions pour le mode sombre */
body, div, section, header, nav, footer, table, tr, td, th, 
.card, .feature-card, .app-showcase, .diagramme-container, 
.gallery-item, .lightbox, .comparison-table, .maquette-description,
.presentation-content, .footer-section, .app-feature,
input, textarea {
    transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Footer dark mode */
[data-theme="dark"] footer {
    background-color: var(--footer-bg);
}

/* Elements spécifiques pour le mode sombre */
[data-theme="dark"] .presentation-content {
    background: var(--card-bg);
    border-left: 5px solid var(--primary-color);
}

[data-theme="dark"] .nav-links li a {
    color: var(--dark-color);
}

[data-theme="dark"] .app-device {
    filter: brightness(0.85);
}

[data-theme="dark"] .device-frame {
    background: #000;
}

[data-theme="dark"] nav.scrolled {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .contact-info {
    background-color: var(--card-bg);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

[data-theme="dark"] .feature-card::before,
[data-theme="dark"] #energie .feature-card::before,
[data-theme="dark"] #eau .feature-card::before,
[data-theme="dark"] #structure .feature-card::before {
    opacity: 0.8;
}

[data-theme="dark"] img {
    filter: brightness(0.9);
}

/* Animations pour le changement de thème */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rotateIn {
    from { transform: rotate(-180deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

.theme-switch-animation {
    animation: fadeIn 0.5s ease;
}

#darkModeToggle i.rotate-in {
    animation: rotateIn 0.5s ease forwards;
}

/* Correction des couleurs des tables en mode sombre */
[data-theme="dark"] .comparison-table th {
    background-color: var(--primary-color);
    color: #fff;
}

[data-theme="dark"] .comparison-table td {
    border-color: var(--input-border);
}

[data-theme="dark"] .autonhome-col {
    background-color: rgba(46, 204, 113, 0.1);
}

/* Correction des sections en mode sombre */

/* Sections thématiques en mode sombre */
[data-theme="dark"] #energie {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), var(--bg-color));
}

[data-theme="dark"] #eau {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), var(--bg-color));
}

[data-theme="dark"] #structure {
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.1), var(--bg-color));
}

[data-theme="dark"] .why-choose {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.2), var(--bg-color));
}

/* Section domotique en mode sombre */
[data-theme="dark"] .app-features {
    background: transparent;
}

[data-theme="dark"] .app-feature {
    background: var(--card-bg);
    border-bottom: 4px solid var(--primary-color);
}

[data-theme="dark"] .app-feature::before {
    opacity: 0.5;
}

[data-theme="dark"] .text-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Correction de toutes les cards en mode sombre */
[data-theme="dark"] .feature-card {
    background-color: var(--card-bg);
}

[data-theme="dark"] #energie .feature-card {
    background-color: var(--card-bg);
    border-top-color: var(--energy-color);
}

[data-theme="dark"] #eau .feature-card {
    background-color: var(--card-bg);
    border-top-color: var(--water-color);
}

[data-theme="dark"] #structure .feature-card {
    background-color: var(--card-bg);
    border-top-color: var(--structure-color);
}

/* Correction de l'apparence des téléphones en mode sombre */
[data-theme="dark"] .app-showcase {
    background: linear-gradient(135deg, var(--bg-alt-color), var(--bg-color));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .device-details {
    background: var(--card-bg);
    color: var(--text-color);
}

/* S'assurer que tout est correctement stylisé en mode sombre */
[data-theme="dark"] .section-title,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
    color: var(--text-color);
}

[data-theme="dark"] .section-intro {
    color: var(--gray-color);
}

[data-theme="dark"] .diagramme-description {
    color: var(--gray-color);
}

/* Style des tooltips et détails en mode sombre */
[data-theme="dark"] .maquette-description,
[data-theme="dark"] .feature-card p,
[data-theme="dark"] .app-feature p {
    color: var(--gray-color);
}

/* Lightbox en mode sombre */
[data-theme="dark"] .lightbox {
    background-color: rgba(0, 0, 0, 0.95);
}

[data-theme="dark"] #caption {
    color: #ddd;
}

[data-theme="dark"] .maquette-description {
    background-color: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .maquette-description p {
    color: var(--gray-color);
}

/* Overlay pour le menu mobile */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

body.menu-open::after {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 768px) {
    nav.scrolled {
        padding: 1rem 5%;
    }
}

/* Correction pour les liens actifs en mode sombre sur PC */
[data-theme="dark"] .nav-links li a.active {
    background: var(--active-link-bg) !important;
    color: var(--active-link-text) !important;
    font-weight: 500;
}

[data-theme="dark"] nav.scrolled .nav-links li a.active {
    background: var(--active-link-bg) !important;
    color: var(--active-link-text) !important;
    font-weight: 500;
}

/* Assurer que les liens sont toujours visibles sur PC en mode sombre */
@media screen and (min-width: 769px) {
    [data-theme="dark"] .nav-links li a.active {
        background-color: var(--active-link-bg);
        color: var(--active-link-text);
        box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
    }

    [data-theme="dark"] nav.scrolled .nav-links li a.active {
        background-color: var(--active-link-bg) !important;
        color: var(--active-link-text) !important;
    }

    /* Amélioration de l'effet hover en mode sombre */
    [data-theme="dark"] nav.scrolled .nav-links li a:hover {
        background: rgba(46, 204, 113, 0.2) !important;
        color: var(--primary-color) !important;
    }
}

/* Améliorations pour le menu mobile */
@media screen and (max-width: 768px) {
    .nav-active {
        transform: translateX(0) !important;
    }
    
    /* S'assurer que les touches du menu sont bien cliquables */
    .nav-links li {
        width: 100%;
        margin: 8px 0;
    }
    
    .nav-links li a {
        padding: 15px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 100%;
        display: block;
    }
}

/* Section Équipe */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Sur PC, forcer 4 colonnes pour aligner tous les membres sur une ligne */
@media screen and (min-width: 1200px) {
    .team-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Pour les écrans de taille moyenne (tablettes, etc.) */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr); /* 2 membres par ligne */
    }
    
    .member-photo {
        height: 250px; /* Même taille que sur PC et mobile */
    }
    
    .member-img {
        object-position: top center; /* Conserver le même cadrage */
    }
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* S'assurer que toutes les cartes ont la même hauteur */
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--card-shadow);
}

.member-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background-color: rgba(46, 204, 113, 0.1);
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Afficher le haut de l'image (visage) */
    transition: transform 0.5s ease;
}

.team-member:hover .member-img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: var(--primary-color);
    background-color: rgba(46, 204, 113, 0.15);
}

.member-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuer l'espace verticalement */
}

.member-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
}

.member-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.project-info {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--card-shadow);
    margin-top: 2rem;
    border-left: 5px solid var(--primary-color);
}

.project-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.acknowledgment {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(46, 204, 113, 0.2);
}

.acknowledgment h3 {
    color: var(--dark-color);
}

.acknowledgment p {
    font-style: italic;
}

/* Mode sombre - Adaptations pour la section équipe */
[data-theme="dark"] .team-member {
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .member-info h3,
[data-theme="dark"] .project-info h3,
[data-theme="dark"] .acknowledgment h3 {
    color: var(--text-color);
}

[data-theme="dark"] .member-role {
    color: var(--primary-color);
}

[data-theme="dark"] .member-description,
[data-theme="dark"] .project-info p,
[data-theme="dark"] .acknowledgment p {
    color: var(--gray-color);
}

[data-theme="dark"] .placeholder-img {
    background-color: rgba(46, 204, 113, 0.1);
}

/* Adaptations responsive pour la section équipe */
@media screen and (max-width: 768px) {
    .team-container {
        grid-template-columns: 1fr;
        gap: 2rem; /* Légèrement plus espacé pour une meilleure lisibilité */
    }
    
    .team-member {
        max-width: 400px; /* Limiter la largeur pour éviter des cartes trop larges */
        margin: 0 auto; /* Centrer horizontalement */
    }
    
    .member-photo {
        height: 250px; /* Même taille que sur PC */
    }
    
    .member-img {
        object-position: top center; /* Conserver le même cadrage que sur PC */
    }
    
    .member-info {
        padding: 1.25rem; /* Réduire légèrement le padding sur mobile */
    }
    
    .member-info h3 {
        font-size: 1.3rem; /* Légèrement plus petit sur mobile */
    }
    
    .member-role {
        font-size: 1rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
    
    .project-info {
        padding: 1.5rem;
        max-width: 400px; /* Cohérence avec les cartes de membres */
        margin-left: auto;
        margin-right: auto;
    }
    
    .project-info h3,
    .acknowledgment h3 {
        font-size: 1.2rem;
    }
    
    .project-info p,
    .acknowledgment p {
        font-size: 1rem;
    }
}

/* Version PC - Menu centré */
@media screen and (min-width: 769px) {
    nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        padding: 1.5rem 2%;
    }
    
    .logo {
        justify-self: start;
    }
    
    .nav-links {
        grid-column: 2;
        justify-self: center;
    }
    
    .theme-toggle {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }
    
    .burger {
        display: none;
    }
}

/* Animations pour le menu mobile */
@keyframes navItemFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Effet de clic pour les liens */
.nav-links li a.clicked {
    background-color: rgba(46, 204, 113, 0.2);
    transform: scale(0.95);
}

[data-theme="dark"] .nav-links li a.clicked {
    background-color: rgba(46, 204, 113, 0.3);
} 