/* slider */

#Company-details {
    background: #3D3D85;
background: linear-gradient(90deg, rgba(61, 61, 133, 1) 0%, rgba(149, 148, 207, 1) 100%);
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.content h2{
    font-family: 'CopperplateCC-Heavy', serif !important;
    
}

.content p{
      font-family: 'Garet', serif !important;
    
}



@media (min-width: 768px) {
    #Company-details {
        padding: 70px;
    }
}

.slider-container {
    position: relative;
    max-width: 900px;
    width: 85%;
    background: linear-gradient(90deg, rgba(99, 98, 155, 1) 0%, rgba(61, 61, 133, 1) 100%);  
    border-radius: 15px;
    overflow: hidden;
    color: #FFFFFF; /* strong white */
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    margin: auto;
}


.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

@media (min-width: 768px) {
    .slide {
        padding: 40px;
    }
}

.slide.active {
    display: block;
}

.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.content h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    
}

@media (min-width: 768px) {
    .content h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
   
}


@media (min-width: 768px) {
    .content p {
        font-size: 18px;
    }
}

.icon {
    width: 50px;
    margin-bottom: 20px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

@media (min-width: 768px) {
    .arrow {
        width: 50px;
        height: 50px;
    }
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

.dots {
    text-align: center;
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
    .dot {
        height: 15px;
        width: 15px;
    }
}

.dot.active {
    background-color: white;
}

/* Touch-friendly improvements */
@media (max-width: 767px) {
    .arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .content {
        padding: 0 10px;
    }
    
    .content p {
        font-size: 15px;
        line-height: 1.5;
    }
}

@media (max-width: 450px) {

#Company-details {
    background: #3D3D85;
background: linear-gradient(90deg, rgba(61, 61, 133, 1) 0%, rgba(149, 148, 207, 1) 100%);
    padding:90px 20px 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.content h2 {
       font-size: 1.3em;
    }

.content p {
    font-size: 0.8em;
   
}
}