/* Home Page Specific Styles Only */

/* Hero Slider */
.hero-slider {
    position: relative;
    margin-top: -1px; /* Fix for header border */
}

.header-carousel {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    padding-top: 80px; /* Space for fixed header */
}

.hero-text {
    max-width: 650px;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Slider Navigation */
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.header-carousel .owl-prev,
.header-carousel .owl-next {
    width: 50px;
    height: 50px;
    background: rgba(27, 117, 188, 0.8) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem !important;
    transition: var(--transition);
}

.header-carousel .owl-prev:hover,
.header-carousel .owl-next:hover {
    background: rgba(27, 117, 188, 1) !important;
    transform: scale(1.1);
}

.header-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.header-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.header-carousel .owl-dot.active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* About Section - Home Page Specific */
.about-section .about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-section .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
    z-index: 2;
}

.about-section .experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-section .experience-badge .text {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Service Cards - Home Page Specific */
.services-section .service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--light-gray);
}

.services-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.services-section .service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.services-section .service-icon i {
    font-size: 2rem;
    color: white;
}

.services-section .service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.services-section .service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.services-section .service-list li {
    padding: 5px 0;
    color: var(--gray-color);
    position: relative;
    padding-left: 20px;
}

.services-section .service-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.services-section .service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.services-section .service-link:hover {
    color: var(--primary-dark);
    gap: 15px;
}

/* Value Cards - Home Page Specific */
.values-section .value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.values-section .value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.values-section .value-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(27, 117, 188, 0.1);
    line-height: 1;
}

.values-section .value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.values-section .value-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Project Cards - Home Page Specific */
.projects-section .project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
}

.projects-section .project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.projects-section .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projects-section .project-card:hover .project-image img {
    transform: scale(1.05);
}

.projects-section .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 117, 188, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projects-section .project-card:hover .project-overlay {
    opacity: 1;
}

.projects-section .project-view {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.projects-section .project-view:hover {
    background: var(--light-gray);
    transform: scale(1.1);
}

/* Feature List - Home Page Specific */
.why-choose-section .feature-list {
    margin-top: 30px;
}

.why-choose-section .feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.why-choose-section .feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.why-choose-section .feature-item span {
    font-weight: 500;
    color: var(--secondary-color);
}

/* CTA Section - Home Page Specific */
.cta-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Client Section - Home Page Specific */
.clients-section .client-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 1px solid var(--border-color);
}

.clients-section .client-item:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.clients-section .client-item img {
    max-height: 70px;
    max-width: 150px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.clients-section .client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Owl Carousel Customization - Home Page Only */
.home-page .owl-carousel .owl-stage {
    display: flex;
}

.home-page .owl-carousel .owl-item {
    display: flex;
    height: 100%;
}

/* Responsive Design - Home Page Only */
@media (max-width: 992px) {
    .hero-slide {
        height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding-top: 60px;
    }
    
    .header-carousel .owl-nav {
        display: none;
    }
    
    .about-section .experience-badge {
        padding: 10px 15px;
        min-width: 100px;
    }
    
    .about-section .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .about-section .experience-badge .text {
        font-size: 0.8rem;
    }
    
    .cta-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .services-section .service-card,
    .values-section .value-card {
        padding: 20px;
    }
    
    .clients-section .client-item {
        padding: 15px;
        height: 100px;
    }
    
    .clients-section .client-item img {
        max-height: 50px;
    }
}