/* Home Page Additional Sections Styles */

/* About Section */
.home-about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.home-about-section .about-content h2 {
    color: #0A0E2F;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.home-about-section .about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.home-about-section .about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.home-about-section .about-features li {
    padding: 8px 0;
    color: #555;
    font-size: 16px;
}

.home-about-section .about-features li i {
    color: #28a745;
    margin-right: 10px;
}

.home-about-section .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 50px;
}

.home-about-section .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #0A0E2F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-about-section .btn-primary:hover {
    background: #1a1f4a;
    transform: translateY(-2px);
}

/* Blog Section */
.home-blog-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.home-blog-section .page-title {
    color: #0A0E2F;
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}

.home-blog-section .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.home-blog-section .blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-blog-section .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.home-blog-section .blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.home-blog-section .blog-content {
    padding: 25px;
}

.home-blog-section .blog-category {
    display: inline-block;
    background: #0A0E2F;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.home-blog-section .blog-content h3 {
    color: #0A0E2F;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.home-blog-section .blog-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.home-blog-section .read-more {
    color: #0A0E2F;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.home-blog-section .read-more:hover {
    color: #1a1f4a;
}

.home-blog-section .read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.home-blog-section .read-more:hover i {
    margin-left: 10px;
}

.home-blog-section .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #0A0E2F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-blog-section .btn-primary:hover {
    background: #1a1f4a;
    transform: translateY(-2px);
}

/* Industries We Serve Section */
.industries-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
}

.industries-container {
    max-width: 1100px;
    margin: 0 auto;
}

.industries-header {
    text-align: center;
    margin-bottom: 50px;
}

.industries-header h2 {
    font-size: clamp(28px, 4vw, 38px);
    color: #0b0c41;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-family: 'Raleway', sans-serif;
}

.industries-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FBA301;
    margin: 12px auto 0;
}

.industries-header p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.industry-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #0b0c41;
}

.industry-card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
}

.industry-card:hover .industry-overlay {
    background: rgba(11, 12, 65, 0.85);
    opacity: 1;
}

.industry-overlay h3 {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.industry-overlay p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.5;
    max-width: 280px;
    transform: translateY(15px);
    transition: transform 0.4s ease 0.1s;
}

.industry-card:hover .industry-overlay h3,
.industry-card:hover .industry-overlay p {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-section {
        padding: 50px 0 0;
    }

    .industries-header h2 {
        font-size: 28px;
    }

    .industries-header p {
        font-size: 14px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        aspect-ratio: 16 / 9;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .home-blog-section .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-about-section {
        padding: 50px 0;
    }
    
    .home-about-section h2 {
        font-size: 28px;
    }
    
    .home-blog-section {
        padding: 50px 0;
    }
    
    .home-blog-section .page-title {
        font-size: 28px;
    }
    
    .home-blog-section .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .home-blog-section .blog-image img {
        height: 180px;
    }
}
