.hero-banner {  
    background-image: url('../about/img-aboutus.jpg'); /* replace with your image path */  
    background-size: cover;  
    background-position: center;  
    height: 300px; /* Adjust the height as needed */
    display: flex;    
    position: relative;
}  

.hero-content { 
    position: absolute;
    top: 20%; 
    color: white; 
    padding: 20px;
    margin:auto;
}  

.hero-banner h1 {  
    font-size: 48px; /* Adjust font size */
    margin: 0;  
}  

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-banner {
        height: 250px; /* Adjust height for medium screens */
    }

    .hero-banner h1 {
        font-size: 40px; /* Slightly smaller text */
    }

    .hero-content {
        top: 30px; /* Adjust top position */
        padding: 15px; /* Adjust padding */
    }
}

@media (max-width: 992px) {
    .hero-banner {
        height: 200px; /* Reduce height on smaller screens */
    }

    .hero-banner h1 {
        font-size: 36px; /* Adjust font size for tablets */
    }

    .hero-content {
        top: 20px; /* Move text a bit higher */
        padding: 10px; /* Reduce padding */
    }
}

@media (max-width: 768px) {
    
    .team-member{
        width:100%!important;
    }
    
    .quality-container {
        display:block!important;
    }
    .hero-banner {
        height: 300px; /* Further reduce height on mobile */
    }

    .hero-banner h1 {
        font-size: 28px; /* Smaller font size for mobile */
    }

    .hero-content {
        top: 15px; /* Adjust text position */
        padding: 8px; /* Reduce padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 300px; /* Smallest height for mobile screens */
    }

    .hero-banner h1 {
        font-size: 24px; /* Small font size for mobile */
    }

    .hero-content {
        top: 10px; /* Adjust top position for small screens */
        padding: 5px; /* Minimal padding */
    }
}

/* Content styling */
.content {
    /*max-width: 800px; */
    padding: 20px;
    margin-right: 0;
}

.content h2 {
    font-size: 1.5rem; /* Adjust heading size */
    font-weight: bold;
    margin-bottom: 15px;
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555; /* Subtle gray color for text */
    margin-bottom: 10px;
}

.content h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 15px 0;
    color: #1D94DC; /* Darker text for subheading */
}

.buttons {
    margin-top: 20px;
    /*text-align: right; */
}

.content-container {  
    display: flex;  
    flex-wrap: wrap;  
    justify-content: space-around;  
    padding: 40px 20px;  
    background-color: #F2F2F2;
}

/* Responsive Styles */

/* For medium screens (e.g., tablets) */
@media (max-width: 992px) {
    .content {
        max-width: 90%; /* Make content more fluid */
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .content h2 {
        font-size: 1.25rem; /* Smaller heading */
    }

    .content p {
        font-size: 15px; /* Slightly smaller text */
    }

    .content h3 {
        font-size: 1.3rem; /* Adjust subheading size */
    }

    .buttons {
        text-align: center; /* Center the buttons for smaller screens */
    }

    .content-container {
        padding: 15px; /* Reduce padding */
    }
}

/* For small screens (e.g., mobile) */
@media (max-width: 768px) {
    .content {
        max-width: 100%; /* Full width content */
        padding: 10px; /* Further reduce padding */
    }

    .content h2 {
        font-size: 1.1rem; /* Adjust heading size for mobile */
    }

    .content p {
        font-size: 14px; /* Smaller text for mobile */
    }

    .content h3 {
        font-size: 1.2rem; /* Smaller subheading for mobile */
    }

    .buttons {
        text-align: center; /* Center the buttons */
    }

    .content-container {
        padding: 10px; /* Less padding for small screens */
        flex-direction: column; /* Stack items vertically */
    }
}

/* For very small screens (e.g., very small phones) */
@media (max-width: 480px) {
    .content {
        padding: 8px; /* Minimal padding for small screens */
    }

    .content h2 {
        font-size: 1rem; /* Smallest heading size */
    }

    .content p {
        font-size: 13px; /* Smallest text size */
    }

    .content h3 {
        font-size: 1.1rem; /* Small subheading size */
    }

    .buttons {
        text-align: center; /* Ensure buttons stay centered */
    }

    .content-container {
        padding: 5px; /* Minimal padding */
    }
}
/* Info Card Styling */
.info-card {  
    background-color: #3498db21;  
    border-radius: 10px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  
    margin: 15px;  
    padding: 20px;  
    width: 400px; /* Adjust width for larger screens */
    height: 380px;
    text-align: center;  
    overflow: hidden; /* Prevent image from going outside the card when rotated */
}  

/* Info Card Image Styling */
.info-card img {  
    width: 60px;  /* Adjust size of the images */
    height: 60px;  
    margin-bottom: 15px;  
    transition: transform 0.5s ease; /* Transition for smooth rotation */
    background-color: #1D94DC;
    border-radius: 50%;
}  

.info-card img:hover {  
    transform: rotate(360deg); /* Rotate image 360 degrees on hover */
}  

/* Info Card Heading */
.info-card h3 {  
    margin: 10px 0;  
    color: rgb(66,150,219);  
}  

/* Info Card Paragraph */
.info-card p {  
    color: #666;  
}  

/* Responsive Styles */

/* Medium screens (tablets and below) */
@media (max-width: 992px) {
    .info-card {
        width: 300px; /* Reduce width on medium screens */
        height: 250px; /* Adjust height */
        padding: 15px; /* Adjust padding */
    }

    .info-card img {
        width: 50px;  /* Adjust image size */
        height: 50px;  
    }

    .info-card h3 {
        font-size: 1.2rem; /* Adjust font size for headings */
    }

    .info-card p {
        font-size: 14px; /* Adjust font size for paragraphs */
    }
}

/* Small screens (mobile devices) */
@media (max-width: 768px) {
    .info-card {
        width: 100%; /* Full width card */
        height: auto; /* Allow height to adjust automatically */
        margin: 10px; /* Reduce margin for small screens */
    }

    .info-card img {
        width: 45px;  /* Smaller image size */
        height: 45px;  
    }

    .info-card h3 {
        font-size: 1rem; /* Smaller font size for headings */
    }

    .info-card p {
        font-size: 12px; /* Smaller font size for paragraphs */
    }
}

/* Very small screens (extra small devices) */
@media (max-width: 480px) {
    .info-card {
        width: 100%; /* Full width on very small screens */
        padding: 10px; /* Further reduce padding */
        margin: 5px; /* Reduce margin for very small screens */
    }

    .info-card img {
        width: 40px;  /* Further reduce image size */
        height: 40px;  
    }

    .info-card h3 {
        font-size: 0.9rem; /* Smallest heading size */
    }

    .info-card p {
        font-size: 11px; /* Smallest font size for paragraphs */
    }
}


/* Quality Container */
.quality-container {
    display: flex;
    flex-wrap: wrap;
}

/* Content Section */
.content-section {
    flex: 1;
    max-width: 30%; /* Default width */
    padding: 20px;
    background-color: #000000;
    color: #ffffff;
}

/* Features Section */
.features-section {
    flex: 1;
    max-width: 80%;
    position: relative;
    color: #ffffff;
    background: url('https://aadarshtech.com/wp-content/uploads/2023/10/Paint-Pigment-Home-Banner.jpg') no-repeat center center/cover;
    overflow: hidden;
}

/* Overlay for the background */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Black overlay with 60% opacity */
    z-index: 1;
}

/* Ensure content is above the overlay */
.features-section .feature-list,
.features-section .supplier-list {
    position: relative;
    z-index: 2;
}

/* Typography */
.header-title {
    color: #00bcd4;
    font-size: 1.2rem;
    font-weight: bold;
}

.sub-header {
    color: #a0ff00;
    font-size: 2rem;
    margin-top: 20px;
}

.content-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Buttons */
.read-more-button {
    align-self: center;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #00bcd4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.read-more-button:hover {
    background-color: #84c240;
}

/* Lists */
.feature-list,
.supplier-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    text-align: justify;
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.feature-list li i,
.supplier-list li i {
    color: #fff;
    margin-right: 10px;
    font-size: 18px;
}

.supplier-list li i {
    color: #a0ff00;
}

/* Align supplier lists side by side */
.supplier-container {
    display: flex;
    justify-content: space-between; /* Adds space between the two lists */
    gap: 20px; /* Adjusts spacing between the lists */
}

.supplier-list {
    list-style: none;
    /*padding: 40px;*/
    margin: 0;
    flex: 1; /* Distributes equal space for each list */
}

.supplier-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    text-align:left;
}

.supplier-list li i {
    color: #a0ff00;
    margin-right: 10px;
    font-size: 20px;
}

/* Responsive Styles */

/* For medium screens (e.g., tablets) */
@media (max-width: 992px) {
    .content-section {
        max-width: 45%; /* Reduce width for medium screens */
        padding: 15px; /* Adjust padding */
    }

    .features-section {
        max-width: 100%; /* Full width for smaller screens */
      
    }

    .header-title {
        font-size: 1.1rem; /* Adjust font size for headers */
    }

    .sub-header {
        font-size: 1.8rem; /* Adjust sub-header size */
    }

    .content-text {
        font-size: 14px; /* Reduce font size for better readability */
    }

    .supplier-container {
        flex-direction: column; /* Stack the supplier lists vertically */
    }

    .supplier-list {
        /*padding: 20px;*/
    }

    .read-more-button {
        padding: 8px 16px; /* Smaller button size */
    }
}

/* For small screens (e.g., mobile) */
@media (max-width: 768px) {
    .content-section {
        max-width: 100%; /* Full width for mobile */
        padding: 10px; /* Reduce padding */
    }

    .features-section {
        max-width: 100%; /* Full width for mobile */
        
    }

    .header-title {
        font-size: 1rem; /* Further reduce header font size */
    }

    .sub-header {
        font-size: 1.5rem; /* Adjust sub-header font size */
    }

    .content-text {
        font-size: 12px; /* Reduce text size for mobile */
    }

    .read-more-button {
        padding: 6px 14px; /* Smaller button for mobile */
    }
}

/* For very small screens (e.g., very small phones) */
@media (max-width: 480px) {
    .content-section {
        padding: 8px; /* Further reduce padding */
    }

    .features-section {
        padding: 10px; /* Add padding to ensure text doesn't touch edges */
    }

    .header-title {
        font-size: 0.9rem; /* Smallest font size for headers */
    }

    .sub-header {
        font-size: 1.2rem; /* Smallest sub-header size */
    }

    .content-text {
        font-size: 11px; /* Smallest font size for text */
    }

    .read-more-button {
        padding: 6px 12px; /* Small button */
    }
}



.team-container {
    text-align: center;
    padding: 80px 0px;

}

.team-container h1 {
    margin-bottom: 20px;
    color: #333;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    width: 20%;
    height: 100%;
    position: relative;
    margin: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
}

.team-member:before {
    content: '';
    position: absolute;
    top: 0;
    left: 180%;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .3);
    z-index: 1;
    transform: skew(45deg);
    transition: .5s;
}

.team-member:hover:before {
    left: -180%;
}

.team-member img {
    padding: 10px;
    height: 100%;
    width: 100%;
    /*object-fit:cover;*/
    transition: 2s;
    border-radius: 8px;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member .info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.team-member:hover .info {
    opacity: 1; /* Make visible on hover */
    visibility: visible; /* Ensure it's shown */
    transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.team-member h3 {
    font-family: Poppins, sans-serif;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #1D94DC;
    transform: perspective(400px) rotateY(90deg);
    transform-origin: right;
    transition: 1s;
    font-size: 18px!important;
}

.team-member h3 span{
    font-size:14px; 
    font-style: italic;
    
    
}

.team-member:hover h3 {
    transform: perspective(400px) rotateY(0deg);
}

.team-member .position, .team-member .phone {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.team-member ul {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0);
    
}

.team-member ul li {
    background: #84c240;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    transform: perspective(800px) rotateY(90deg);
    transition: .5s;
    transform-origin: left;
    border-radius: 50%;
    margin: 15px auto;
}

.team-member:hover ul li {
    transform: perspective(800px) rotateY(0deg);
}

.team-member:hover ul li:nth-child(1) {
    transition-delay: .2s;
}

.team-member:hover ul li:nth-child(2) {
    transition-delay: .6s;
}

.team-member:hover ul li:nth-child(3) {
    transition-delay: .8s;
}

.team-member:hover ul li:nth-child(4) {
    transition-delay: 1s;
}

.team-member ul li a {
    color: #1D94DC;
    background: #84c240;
}

.team-member ul li i {
    color: #fff;
    background: #84c240;
}

.team-member ul li i:hover {
    color: #fff;
    background: #1D94DC;
}




/* General Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  
}
/* General Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Upcoming and Past Events Section Styles */
.upcoming-events, .past-events {
    padding: 20px;
}
.upcoming-events h2, .past-events h2{
    color: #289ABF;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Carousel Image Styles */
.carousel-inner {
    height: 400px;  /* Set a fixed height for the carousel */
    overflow: hidden;  /* Prevent images from overflowing */
}

.carousel-inner img {
    width: 100%;  /* Make images take up the full width */
    height: 100%;  /* Ensure images fill the height of the carousel */
    object-fit: cover; /* Maintain aspect ratio, cropping images if necessary */
    border-radius: 8px; /* Optional: for rounded corners */
}

/* Navigation Controls */
.carousel-control-prev, 
.carousel-control-next {
    font-size: 1.5rem;
    width: 5%;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
    border-radius: 50%; /* Circular arrows */
}

/* Spacing and layout */
.mt-5 {
    margin-top: 40px;
}

.carousel-item {
    transition: transform 0.5s ease;
}



/* Mobile-friendly */
@media (max-width: 767px) {
    .carousel-control-prev, 
    .carousel-control-next {
        font-size: 1.2rem;
        width: 8%;
    }

    h2 {
        font-size: 1.5rem;
    }

    .carousel-inner {
        height: 300px;  /* Adjust the height for mobile */
    }

    .carousel-item img {
        object-fit: contain; /* Adjust to fit images better on smaller screens */
    }
}
 .info-card .info-icon2{
        height: 100%;
        width: 80%;
    }
    
