/* Custom Styles for estodeeds LLP */

/* Enhanced Project Thumbnails */
.portfolio-item .portfolio-content img {
    filter: brightness(0.7);
    transition: all 0.3s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.portfolio-item:hover .portfolio-content img {
    filter: brightness(0.9);
}

/* Ensure portfolio images are visible */
.portfolio .portfolio-item .portfolio-content {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio .portfolio-item .portfolio-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Custom project image overlays with icons */
.portfolio-content {
    position: relative;
}

.portfolio-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(108, 92, 231, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-content::before {
    opacity: 1;
}

/* Project badges styling */
.portfolio-info .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Specific project background gradients */
.portfolio-item:nth-child(1) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #0066cc 0%, #00b894 100%);
}

.portfolio-item:nth-child(2) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
}

.portfolio-item:nth-child(3) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
}

.portfolio-item:nth-child(4) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
}

.portfolio-item:nth-child(5) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
}

.portfolio-item:nth-child(6) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #fab1a0 0%, #ff7675 100%);
}

.portfolio-item:nth-child(7) .portfolio-content img {
    object-fit: cover;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

/* Featured project highlighting */
.portfolio-item.filter-client {
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }
}

/* Remove certifications from footer */
.footer-certifications {
    display: none;
}

/* Better service icons */
.service-item .icon {
    background: linear-gradient(135deg, #0066cc, #6c5ce7);
}

/* Stats section enhancements */
.stats-item {
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

/* Force portfolio images to be visible */
.portfolio .isotope-container .portfolio-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.portfolio .isotope-container .portfolio-item img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Override isotope hiding */
.portfolio .isotope-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.portfolio .isotope-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Project image divs with realistic tech backgrounds */
.project-image {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
}

.project-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.project-tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.project-client {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    line-height: 1.3;
    margin-bottom: 10px;
}

.project-tech {
    font-size: 12px;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    font-weight: 500;
}

/* Realistic technology backgrounds */
.project-image-1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.project-image-2 {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a855f7 100%);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(30deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.project-image-3 {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.project-image-4 {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #67e8f9 100%);
    background-image: 
        radial-gradient(circle at 35% 65%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 65% 35%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(75deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.project-image-5 {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    background-image: 
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.project-image-6 {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
    background-image: 
        radial-gradient(circle at 45% 55%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 55% 45%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.project-image-7 {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 50%, #f472b6 100%);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

/* Enhanced Hero Section Styles */
.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
    text-align: center !important;
}

/* Force center alignment for hero content */
.col-xl-10.col-lg-11.text-center p {
    text-align: center !important;
}

.hero-description {
    font-size: 18px !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    margin-bottom: 40px !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: block !important;
}

.hero-stats {
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #1e40af;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-watch-video {
    background: transparent;
    border: 2px solid #1e40af;
    color: #1e40af;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-watch-video:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

/* Company Highlights Styles */
.company-highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
}

.highlight-item i {
    color: #1e40af;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-item div {
    flex: 1;
}

.highlight-item strong {
    display: block;
    color: #1e40af;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.highlight-item span {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

/* Industries Section Styles */
.industries {
    padding: 80px 0;
    background: #f8fafc;
}

.industry-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.industry-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 15px;
}

.industry-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Service Features Styles */
.service-features {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Why Choose Us Section Styles */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

.why-choose-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #1e40af;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.why-choose-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 15px;
}

.why-choose-card p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced CTA Section Styles */
.cta-stats {
    margin: 30px 0;
}

.cta-stat {
    text-align: center;
    padding: 20px 10px;
}

.cta-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.cta-stat-label {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.cta-btn-secondary:hover {
    background: #ffffff;
    color: #1e40af;
    transform: translateY(-2px);
}

/* About Section Alignment Improvements */
.about-content-right {
    padding-left: 20px;
}

.mission-vision-container {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #1e40af;
    margin-top: 20px;
}

.mission-vision-container h4 {
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 15px;
}

.mission-vision-container p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Enhanced Success Stories Button */
.btn-success-stories {
    background: transparent !important;
    border: 2px solid #1e40af !important;
    color: #1e40af !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    min-width: 140px !important;
    max-width: 180px !important;
    justify-content: center !important;
    width: auto !important;
}

.btn-success-stories:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-success-stories i {
    font-size: 14px !important;
}

/* BluEnt Style Case Studies Section */
.case-studies {
    padding: 80px 0;
    background: #fafafa;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.case-study-card.bluent-style {
    height: 280px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.case-study-card.bluent-style:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.case-study-card.bluent-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)); /* Darker overlay */
    opacity: 0.9; /* Increased initial opacity */
    transition: opacity 0.3s ease;
    z-index: 1;
}

.case-study-card.bluent-style:hover::before {
    opacity: 0.7; /* Increased lighter on hover opacity */
}

.case-study-logo {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.logo-sub {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Professional background images for each case study */
.mitchell-cotts-bg {
    background-image: url('assets/img/case-studies/mitchell-cotts-bg.png');
}

.rajasthan-bg {
    background-image: url('assets/img/case-studies/rajasthan-bg.png');
}

.fec-bg {
    background-image: url('assets/img/case-studies/fec-bg.png');
}

.trexon-bg {
    background-image: url('assets/img/case-studies/trexon-bg.png');
}

/* Text visibility adjustments for background images */
.logo-main,
.logo-sub {
    color: white !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8); /* Enhanced text shadow */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-main {
    font-size: 32px;
    margin-bottom: 8px;
}

.logo-sub {
    font-size: 20px;
    opacity: 0.9;
}

/* Case Study Modal Styles */
.case-study-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.modal-header h2 {
    color: #1e3a8a;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.close {
    color: #6b7280;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #374151;
}

.modal-body {
    padding: 30px;
}

.modal-body h4 {
    color: #1e40af;
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-body p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-body ul, .modal-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.modal-body li {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 8px;
}

.modal-body strong {
    color: #1e40af;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .case-study-card.bluent-style {
        height: 240px;
    }
    
    .logo-main {
        font-size: 28px;
    }
    
    .logo-sub {
        font-size: 18px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header, .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .case-studies-grid {
        gap: 25px;
        padding: 0 15px;
    }
    
    .case-study-card.bluent-style {
        height: 220px;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 16px;
    }
}

