/* Optional: Add custom styles for logo */
 .navbar-brand img {
    height: 60px; /* Adjust the logo size as needed */
    width: 60px;
    margin-right: 1rem;
}
.nav-title-class{
    display: flex;
    flex-direction: column;
}
.nav-custom,.footer{
   /* background-color: #b25ed7c2 !important Light Purple Background */
    background-color: #4a0b66c2 /* dark purple  */
}
.nav-link-logo {
    color: yellow;
    font-size: 26px;
    font-weight: 700;
}
.nav-link-custom{
    color: yellow;
    font-weight: 600;
    font-size: 17px;
    font-family: Times New Roman;
}
.nav-item{
    padding: 0px 3px;
    margin: 0px 10px;
}
 .nav-link-custom:hover,li.nav-item.active {
    color: #FFB800;
    background: white;
    border-radius: 5px; /* Slightly darker gold for hover effect */
}
.carousel-item {
    position: relative;
}
.carousel-item img {
    height: 400px !important;
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 35% !important;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}
.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #FF4500;
    text-align: center;
}
.section-content {
    font-size: 1rem;
    color: #333;
    text-align: justify;
}
.section {
    margin-top: 0px;
    padding: 20px;
    /* background: #AFF4C6; */
}
.gallery-item {
    padding: 15px;
    text-align: center;
    
}
.gallery-item img {
    width: 200px;
    height: auto;
    max-height: 100px; /* Adjust the height as needed */
    object-fit: contain; /* Maintains aspect ratio */
}
.gallery-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    color: #FF4500;
    font-family: cursive;
}
.card{
    width: 360px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 6px;
}
.card-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: For rounded corners */
}
.card-body {
    display: flex;
    align-items: center;
}
.card-content {
    padding-left: 20px; /* Space between image and text */
}
.card {
    border: none; /* Optional: Remove card border for a cleaner look */
}
.footer {
    background-color: #4a0b66c2; /* dark purple background */
    padding: 20px 0;
}
.footer-section {
    margin-bottom: 20px;
}
.footer-logo img {
    max-width: 150px;
}
.footer-section a{
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}
.footer-section p {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}
.footer-section h5{
    color: yellow;
}
.footer-links a:hover,.footer-section a:hover {
    color: #FFB800;
    /* background: white; */
    border-radius: 5px;
}
.social-icons{
    display: flex;
}
.social-icons a {
    color: #FFB800;
    background: transparent;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 1.5rem;
    width: 20px;
    height: 20px;
}
.social-icons a:hover {
    color: #007bff;
}
.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #33a1c503 !important;
}

.card img {
    width: 250px;
    height: 180px;
    padding-top: 1rem;
}

.card-body {
    padding: 15px;
    flex: 1; /* Allow the text area to take the remaining space */
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.card-text {
    margin: 0;
}
.contact-section{
     position: relative;
        background-image: url('../Images/contact_banner.jpg');
        background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    height: 420px; /* Adjust height as needed */
    color: #fff; /* Set text color for contrast */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically center the text container */
    padding: 20px; /* Optional: add padding around the section */
    
}

.service-section {
    position: relative;
    background-image: url('../Images/services_banner.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    height: 400px; /* Adjust height as needed */
    color: #fff; /* Set text color for contrast */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically center the text container */
    padding: 20px; /* Optional: add padding around the section */
}

.text-container {
    position: absolute;
    left: 20px; /* Adjust the position from the left edge */
    max-width: 50%; /* Restrict the width of the text container */
    background-color: transparent; /* Optional: semi-transparent background for text readability */
    padding: 20px; /* Add padding inside the text container */
    border-radius: 8px; /* Optional: rounded corners for better aesthetics */
}

h2 {
    margin: 0; /* Remove default margins */
    /* font-size: 24px; Adjust font size as needed */
    line-height: 1.4; /* Improve line spacing */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-section,.contact-section {
        height: 300px; /* Adjust height for smaller screens */
    }
    
    .text-container {
        max-width: 90%; /* Increase width for smaller screens */
        left: 10px; /* Adjust position for smaller screens */
    }
}
/* Container for services */
.services-section {
    padding: 20px;
}

/* Flip card container */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    perspective: 1000px; /* Add perspective to the container */
}

/* Inner card container */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Flip card front and back */
.flip-card-front, .flip-card-back,.flip-card-frontADM,.flip-card-frontETS,.flip-card-frontDSAI,.flip-card-frontCS,.flip-card-frontBC,.flip-card-frontICS {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide back side when flipped */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Front side styles */
.flip-card-frontADM {
    background-color: #ffffff; /* Front side background color */
    border: 1px solid #ddd; /* Border for the front */
    background-image: url('../Images/AD&M.png');
}
.flip-card-frontADM::before,.flip-card-frontETS::before,.flip-card-frontDSAI::before,.flip-card-frontCS::before,.flip-card-frontBC::before,.flip-card-frontICS::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff75; /* Semi-transparent black overlay */
    z-index: 1; /* Ensure overlay is above the background image but below the text */
}
.flip-card-back p {
    font-family: cursive;
}

.location_img {
    width: 170px;
    height: 170px;
}
/* Text styling */
.flip-card-frontADM h3,.flip-card-frontETS h3,.flip-card-frontDSAI h3,.flip-card-frontCS h3,.flip-card-frontBC h3,.flip-card-frontICS h3 {
    position: relative;
    z-index: 2; /* Ensure text is above the overlay */
    margin: 0;
    color: gold;
    padding: 20px; /* Adjust padding as needed */
    text-shadow: 2px 2px 4px #c0c3c5; /* Black shadow with more opacity */
}
.flip-card-frontETS{
    background-color: #ffffff; /* Front side background color */
    border: 1px solid #ddd; /* Border for the front */
    background-image: url('../Images/ETS.png');
    background-repeat: no-repeat;
}
.flip-card-frontDSAI{
    background-color: #ffffff; /* Front side background color */
    border: 1px solid #ddd; /* Border for the front */
    background-image: url('../Images/DSAI.png');
    background-repeat: no-repeat;
}
.flip-card-frontBC{
    background-color: #ffffff; /* Front side background color */
    border: 1px solid #ddd; /* Border for the front */
    background-image: url('../Images/BC.jpg');
    background-repeat: no-repeat;
}
.flip-card-frontCS{
    background-color: #ffffff; /* Front side background color */
    border: 1px solid #ddd; /* Border for the front */
    background-image: url('../Images/CS.jpg');
    background-repeat: no-repeat;
}
.flip-card-frontICS{
    background-color: #ffffff; /* Front side background color */
    border: 1px solid #ddd; /* Border for the front */
    background-image: url('../Images/ICS.jpg');
    background-repeat: no-repeat;
}

/* Back side styles */
.flip-card-back {
    background-color: #f8f8f8; /* Back side background color */
    color: #333; /* Text color on the back */
    transform: rotateY(180deg); /* Rotate back side */
}

/* Flip effect */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Optional: Add responsiveness */
@media (max-width: 768px) {
    .flip-card {
        height: 250px; /* Adjust height for smaller screens */
    }
}
.AD1M{
    position: relative;
    background-image: url('../Images/AD&M.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#footerspan {
    font-size: 14px;
    color: #fff;
}
.footer-section button{
    border-radius: 4px;
    padding: 8px;
    color: white;
    font-weight: 700;

}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
}
.nav-tag{
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}
a.navbar-brand {
    display: flex;
    flex-direction: row;
}