:root {
    --primary-color: #032654; /* Primary IACM brand color - adjust based on actual color */
    --secondary-color: #0056b3; /* Secondary IACM brand color */
    --accent-color: #ffc107; /* Accent color for highlights */
}

/* Hero section styles */
.iacm-hero {
    background: linear-gradient(rgba(3, 38, 84, 0.9), rgba(3, 38, 84, 0.8)), url('../uploads/system/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-top: 0;
}

.iacm-about {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.iacm-services {
    padding: 60px 0;
}

.service-box {
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.iacm-events {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.event-item {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 3px solid var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.iacm-contact {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #fff;
}

.contact-info {
    margin-bottom: 30px;
}

.social-icons a {
    color: #fff;
    margin-right: 15px;
    font-size: 18px;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.core-values-box {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    border-radius: 5px;
}

.core-values-list li {
    margin-bottom: 10px;
}

/* Slider styles */
.iacm-slider {
    position: relative;
}

.iacm-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.iacm-slider .owl-prev, 
.iacm-slider .owl-next {
    position: absolute;
    background-color: rgba(255,255,255,0.7) !important;
    color: var(--primary-color) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    text-align: center;
    line-height: 40px;
}

.iacm-slider .owl-prev {
    left: 10px;
}

.iacm-slider .owl-next {
    right: 10px;
}

.slide-item {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(3, 38, 84, 0.7);
    color: #fff;
    padding: 20px;
}

/* Gallery styles */
.iacm-gallery {
    padding: 60px 0;
}

.gallery-item {
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(3, 38, 84, 0.7);
    color: #fff;
    padding: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .slide-item {
        height: 400px;
    }
    
    .iacm-hero {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .slide-item {
        height: 300px;
    }
    
    .iacm-hero {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .iacm-slider .owl-nav {
        display: none;
    }
    
    .core-values-box {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .slide-item {
        height: 250px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}



/*next*/

/* Gallery Styling */
.iacm-gallery {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #007bff;
    margin: 15px auto 0;
}

/* Gallery Item Styling */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption h5 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.gallery-caption p {
    margin: 0;
    font-size: 14px;
}

/* Owl Carousel Customization */
.gallery-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: block !important;
}

.gallery-slider .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(0, 123, 255, 0.8) !important;
    border-radius: 50%;
    color: #fff !important;
    font-size: 18px !important;
    transition: all 0.3s ease;
    z-index: 99;
}

.gallery-slider .owl-nav button:hover {
    background: rgba(0, 123, 255, 1) !important;
}

.gallery-slider .owl-nav .owl-prev {
    left: -20px;
}

.gallery-slider .owl-nav .owl-next {
    right: -20px;
}

.gallery-slider .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.gallery-slider .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ccc !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-slider .owl-dot.active {
    background: #007bff !important;
}

/* View More Button */
.btn-primary {
    padding: 10px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Full Gallery Page */
.gallery-page {
    padding: 80px 0;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    position: relative;
}

.page-title:after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: #007bff;
    margin: 15px auto 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-slider .owl-nav .owl-prev {
        left: -10px;
    }
    
    .gallery-slider .owl-nav .owl-next {
        right: -10px;
    }
}