/* IPs Page Specific Styles */

.ips-hero {
    min-height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #002880 0%, #0A48E9 100%);
    color: white;
    overflow: hidden;
    padding: 120px 0 60px 0;
}

.ips-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 40, 128, 0.8), rgba(10, 72, 233, 0.8));
}

.ips-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 128, 0.3);
}

.ips-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ips-hero .hero-text {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.ips-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ips-hero .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.ips-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ips-gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.ips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ip-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E71FE, #42DFFE);
    z-index: 1;
}

.ip-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.ip-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.ip-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ip-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #002880;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ip-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: justify;
}

.ip-specs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ip-specs .spec {
    background: linear-gradient(135deg, #2E71FE, #42DFFE);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
}

.ip-content .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .ips-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .ip-content {
        padding: 1.5rem;
    }
    
    .ip-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .ips-gallery {
        padding: 60px 0;
    }
    
    .ips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .ip-image {
        height: 200px;
    }
    
    .ip-content {
        padding: 1.25rem;
    }
    
    .ip-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .ip-summary {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .ip-specs {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .ip-specs .spec {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .ips-hero {
        padding: 100px 0 60px 0;
    }
    
    .ips-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ips-hero .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .ips-gallery {
        padding: 40px 0;
    }
    
    .ips-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .ip-image {
        height: 180px;
    }
    
    .ip-content {
        padding: 1rem;
    }
    
    .ip-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .ip-summary {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .ip-specs {
        margin-bottom: 0.75rem;
    }
    
    .ip-specs .spec {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
} 