/* devicesdescription.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #f5f5f5;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    gap: 40px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.image-section {
    flex: 1;
    min-width: 300px;
}

.image-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.details-section {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.details-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.details-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.info-box {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    border-left: 4px solid #b48730;
}

.info-box i {
    color: #b48730;
    width: 25px;
    margin-right: 10px;
}

.enroll-btn {
    display: inline-block;
    padding: 12px 30px;
    margin-right: 15px;
    margin-top: 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.enroll-btn:hover {
    background: transparent;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #b48730;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
}

.toast.show {
    visibility: visible;
    animation: fadeInOut 3s;
}

@keyframes fadeInOut {
    0% { opacity: 0; bottom: 0; }
    10% { opacity: 1; bottom: 30px; }
    90% { opacity: 1; bottom: 30px; }
    100% { opacity: 0; bottom: 0; }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 20px;
        padding: 15px;
    }
    
    .details-section h1 {
        font-size: 2rem;
    }
    
    .enroll-btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
}