/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Container */
.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    padding: 50px;
    gap: 30px;
    max-width: 1200px;
    width: 90%;
    margin: auto;
    margin-top: 50px;
}

/* Left Panel */
.left-panel {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
}

.welcome-h {
    color: red;
    font-size: 26px;
    margin-bottom: 10px;
}

.dept-title {
    color: blue;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.left-panel .firstp, .secondp {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.left-panel .firstp {
    color: blue;
    font-size:20px;
    margin-top:15px;

}

/* Contact Button */
a.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease;
}


button.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease;
}
.contact-btn:hover {
    background: #0056b3;
}

/* Right Panel (Image Slider) */
.right-panel {
    flex: 1;
    max-width: 50%;
    text-align: center;
    position: relative;
}

/* Slider */
.slider {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.slider img {
    width: 100%;
    display: none;
    border-radius: 10px;
}

.slider img.active {
    display: block;
}



.services-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px;
    background: #f5f5f5;
    align-items: center;
  
}


.service-title{
    color: black;
}

/* Service Card */
.service-card {
    display: flex;
    align-items: center;
    color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    padding: 20px;
    transition: transform 0.3s;
    overflow: hidden;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Hover effect */
.service-card:hover {
    transform: scale(1.03);
}

.service-content {
    flex: 1;
    padding-right: 20px;
}

.service-icon {
    font-size: 40px;
    color: #2d16fadc;
    margin-bottom: 10px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: blue;
}

.service-description {
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
}

/* Add class to paragraphs */
.service-description p {
    margin-bottom: 15px;
    font-size: 16px;
}

.image-container {
    width: 40%;
    height: 230px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.service-image.active {
    opacity: 1;
}

.para {
    color: rgb(0, 0, 0);
   
}


.header1{
    color: rgb(10, 7, 212);
}

.list{
    color: rgba(1, 0, 2, 0.87);
}



/* our services  */

.services-section {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
    width: 100%;
}



.services-section h2 {
    font-size: 30px;
    color: #13016e;
    margin-bottom: 20px;
    font-family: sans-serif;
    
}

.card-container {
    display: flex;
    flex-wrap: wrap; /* Makes it responsive */
    justify-content: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 900px; /* Prevents too wide stretch */
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 150px;
    text-align: center;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    font-weight: bold;
    color: hsl(258, 96%, 46%);
}



/* End of our services */



/* Tablet Adjustments (Including Landscape Mode) */
@media (max-width: 1024px) {
    .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .left-panel, .right-panel {
        max-width: 80%;
        text-align: center;
    }

    .slider {
        max-width: 100%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
   
    .content-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: -10px;
        width: 100%;
    }

    .left-panel, .right-panel {
        max-width: 100%;
        text-align: center;
    }

    .welcome-h{
    text-align: center;
    }
    .left-panel h2{
        text-align: start;
       
    }

    .dept-title{
        font-size: 50px;
    }

    .left-panel .firstp{
        font-size: 1rem;
        text-align: start;
    text-transform: capitalize;
	letter-spacing: 0px;
	line-height: 23px;
    }
    .left-panel .secondp{
    font-size: 15px;
    text-align: start;
	letter-spacing: 0px;
	line-height: 2;
    margin: 0;
    margin-top: -20px;
    }


    .left-panel H2{
        font-size: 1.2rem;
        }

    .slider {
        max-width: 100%;
    }

 .welcome-h{
    font-size: 10px;
 }   
/* Responsive Design our services */

    .card-container {
        flex-direction: column; /* Stacks cards on small screens */
        align-items: center;
    }
    .card {
        width: 80%; /* Makes cards wider for small screens */
    }
    .services-section h2 {
        font-size: 18px;
    }

.services-section {
        width: 100%;
    }
    
/*Responsive Design our services  */
}


