/* 
   Emirify Installation and Maintenance - Divisions Page Styles
   Author: Myrix Labs
   Version: 1.0
*/

/* Divisions Header */
.divisions-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../images/Our-divisions-main-image.jpg') no-repeat center 30%;
    background-size: cover;
    padding: 120px 0 80px;
    margin-bottom: 0;
}

/* Division Section Styling */
.division-section {
    padding: 80px 0;
    position: relative;
}

.division-section:nth-child(odd) {
    background-color: #f8f9fa;
}

/* Division Image Container */
.division-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    height: 400px;
}

.division-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.division-img:hover img {
    transform: scale(1.05);
}

/* Division Content Styling */
.division-content {
    padding: 20px;
    position: relative;
}

.division-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.division-icon i {
    font-size: 32px;
    color: white;
}

.division-content h2 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.division-content h4 {
    margin: 30px 0 15px;
    font-weight: 600;
}

/* Division Overview Circles */
.division-overview {
    transition: all 0.3s ease;
}

.division-overview:hover {
    transform: translateY(-5px);
}

.division-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.division-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.security-circle {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.fire-circle {
    background: linear-gradient(135deg, #f83600, #f9d423);
}

.electrical-circle {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.mechanical-circle {
    background: linear-gradient(135deg, #5f2c82, #49a09d);
}

/* Division Services List */
.division-services {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.division-services li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 30px;
}

.division-services li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.division-services li:last-child {
    border-bottom: none;
}

/* Integration Section */
.integration-content {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    height: 100%;
}

.integration-diagram {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.integration-diagram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/divisions/division-integration.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-top: 50px;
    object-position: 10% center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .division-img {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .integration-diagram {
        height: 300px;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .division-section {
        padding: 50px 0;
    }
    
    .division-img {
        height: 250px;
    }
    
    .division-content {
        text-align: center;
    }
    
    .division-icon {
        margin: 0 auto 20px;
    }
    
    .division-services li {
        text-align: left;
    }
}
