/* Template-specific styles for Emirify website */

/* Services page styles */
.service-detail-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.service-detail-content {
    padding: 25px 30px;
}

.service-detail-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-detail-content p {
    margin-bottom: 20px;
}

.service-detail-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.service-detail-content ul li {
    margin-bottom: 10px;
    position: relative;
}

.service-detail-img {
    height: 100%;
    object-fit: cover;
}

/* Hero section styles */
.hero-section {
    position: relative;
    padding: 220px 0 180px; /* Increased padding for larger hero section */
    color: #fff;
    overflow: hidden;
}

#hero-banner {
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 46, 92, 0.75); /* Translucent blue overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Page header styles */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

/* Specific page headers */
.services-header {
    background-image: url('../images/Our-services-main-image.jpg');
}

.divisions-header {
    background-image: url('../images/divisions-header.jpg');
}

.about-header {
    background-image: url('../images/about-header.jpg');
}

.contact-header {
    background-image: url('../images/contact-header.jpg');
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: #f8f9fa;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #f8f9fa;
}

/* Section styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* About page styles */
.about-img {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 15px;
}

.value-card {
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    color: #0d6efd;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    transition: all 0.5s ease;
}

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

/* Services page styles */
.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 20px;
}

.service-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    font-size: 1.05rem;
    flex-grow: 1;
    color: #666;
    margin-bottom: 20px;
}

.service-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.service-content ul li {
    margin-bottom: 8px;
    color: #666;
}

.additional-service-card {
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.additional-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.additional-service-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.additional-service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.process-card {
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #0d6efd;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Divisions page styles */
.division-section {
    padding: 80px 0;
}

.division-img {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.division-content {
    padding: 20px;
}

.division-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 20px;
}

.division-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.division-content p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 20px;
}

.division-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.division-services {
    padding-left: 20px;
    margin-bottom: 25px;
}

.division-services li {
    margin-bottom: 8px;
    color: #666;
}

.integration-content p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 15px;
}

.integration-diagram {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials Section */
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px auto 0;
    border: 3px solid #0d6efd;
}

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

.testimonial-content {
    padding: 20px;
    text-align: center;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    color: #666;
}

.testimonial-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-content span {
    font-size: 0.9rem;
    color: #777;
}

/* Partners Section */
.partners-row {
    justify-content: center;
}

.partner-logo {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-height: 70px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* RTL Overrides for Arabic */
html[dir="rtl"] .division-services,
html[dir="rtl"] .service-content ul {
    padding-right: 20px;
    padding-left: 0;
}

/* Animation styles */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.3s;
}

.fade-in-delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

/* RTL support for WhatsApp button */
html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .division-content,
    .about-content {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-padding,
    .division-section {
        padding: 60px 0;
    }
    
    .section-title h2,
    .division-content h2,
    .about-content h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .service-icon,
    .division-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-padding,
    .division-section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2,
    .division-content h2,
    .about-content h2,
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}
