/* DevOps Page Specific Styles */

/* CSS Custom Properties for Mobile */
:root {
    --header-height: 80px;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* DevOps Hero Section */
.devops-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 120px 0 80px;
}

.devops-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.devops-hero .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
    max-width: 100%;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.devops-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #ff9966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.devops-hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-btns .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 180px;
    transition: all 0.3s ease;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 153, 102, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 153, 102, 0.4);
}

.stat:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ff9966;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}

.stat-desc {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Active Navigation Link */
.nav-links .active {
    color: #ff3366 !important;
    font-weight: 600;
}

/* Platform Features Section */
.platform-features {
    background: #f8f9fa;
    padding: 5rem 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, #ff3366, #ff9966);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-icon svg{
    width: 25px;
    height: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* Workflow Section */
.workflow-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.workflow-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.workflow-image {
    text-align: center;
}

.workflow-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.workflow-description h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.workflow-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.workflow-benefits {
    list-style: none;
    padding: 0;
}

.workflow-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
    gap: 1rem;
}

.workflow-benefits i {
    color: #667eea;
    margin-right: 1rem;
    font-size: 1rem;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    color: #ff9966;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefit-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Services Overview Section */
.services-overview {
    padding: 5rem 0;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff3366 0%, #ff9966 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon path {
    font-size: 2rem;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #ff3366;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #ff1744;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Technology Integration Section */
.tech-integration {
    background: #f8f9fa;
    padding: 5rem 0;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tech-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.tech-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.tech-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Technology Integration Section */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff3366 0%, #ff9966 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .devops-hero {
        min-height: auto;
        padding: 120px 0 60px;
        display: block;
    }
    
    .devops-hero .hero-content {
        gap: 3rem;
        padding-top: 2rem;
        min-height: auto;
        display: block;
    }
    
    .hero-text {
        margin-bottom: 3rem;
    }
    
    .devops-hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .devops-hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-btns {
        gap: 0.8rem;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }
    
    .hero-btns .btn {
        min-width: 160px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat {
        padding: 1.5rem 0.8rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-desc {
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-text {
        text-align: center;
    }
    
    .tech-text h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .devops-hero {
        min-height: auto;
        padding: 120px 0 40px;
        display: block;
    }
    
    .devops-hero .hero-content {
        gap: 2rem;
        padding-top: 1rem;
        min-height: auto;
        display: block;
    }
    
    .hero-text {
        margin-bottom: 2rem;
    }
    
    .devops-hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .devops-hero p {
        font-size: 1.1rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .stat {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .platform-features {
        padding: 3rem 0;
    }
    
    .services-overview {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
    
    .benefit-card {
        padding: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .workflow-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .workflow-image {
        order: 1;
    }
    
    .workflow-description {
        order: 2;
    }
    
    .workflow-description h3 {
        font-size: 1.5rem;
    }
    
    .workflow-benefits {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    .workflow-benefits li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
}

/* Loading state for images */
.feature-image img,
.benefit-image img,
.service-icon img,
.tech-image img {
    transition: opacity 0.3s ease;
}

.feature-image img[loading="lazy"],
.benefit-image img[loading="lazy"],
.service-icon img[loading="lazy"],
.tech-image img[loading="lazy"] {
    opacity: 0;
}

.feature-image img[loading="lazy"].loaded,
.benefit-image img[loading="lazy"].loaded,
.service-icon img[loading="lazy"].loaded,
.tech-image img[loading="lazy"].loaded {
    opacity: 1;
}
