/*
 * Corrected and Generated CSS
 *
 * This version addresses syntax errors, inconsistencies, and redundant declarations.
 * It removes invalid CSS properties and streamlines the styles for clarity and maintainability.
 * CRITICAL FIX: The @import rule for Inter font has been added.
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Inter:wght@400;500;600;700&display=swap');

/* --- General and Base Styles --- */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #e0f2fe, #f3e8ff); /* Bright gradient background */
    color: #333;
    line-height: 1.6;
}

a {
    color: #4f46e5; /* Primary indigo color */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3730a3; /* Darker indigo on hover */
    text-decoration: underline;
}

/* --- Utility Classes --- */
.text-white-50 {
    color: #fff !important; /* Forces text to be white */
}

.text-justify-custom {
    text-align: justify;
}

.hidden {
    display: none;
}

/* --- Navbar Styles --- */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #4f46e5;
}

.navbar-brand h1 {
    color: #4f46e5;
    font-weight: 800;
    font-size: 2.2rem;
    margin-left: 10px;
}

.navbar-brand img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    color: #5d5c5f;
    background-color: transparent; /* Changed from a specific color to maintain consistency */
    border-color: #5d5c5f;
}

.nav-link {
    color: #555 !important;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    padding: 8px 15px;
}

.nav-link:hover {
    color: #6366f1 !important;
    background-color: #eef2ff;
    transform: translateY(-2px);
}

/* --- Hero Section Styles --- */
.hero-section {
    background: linear-gradient(to right, #6366f1, #a855f7);
    color: white;
    padding: 80px 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 20px;
}

.hero-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.hero-button {
    background-color: #ffffff;
    color: #4f46e5;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.hero-button:hover {
    background-color: #eef2ff;
    color: #3730a3;
    transform: scale(1.05);
}

/* --- Feature and Card Styles --- */
.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #4f46e5;
    text-align: center;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    background-color: #eef2ff;
    border-radius: 50%;
    padding: 15px;
    display: inline-flex;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 45px;
    height: 45px;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.05rem;
    color: #666;
}

#devops-engineering .feature-icon-wrapper {
    background-color: #f3e8ff;
}

#devops-engineering .feature-card h3 {
    color: #a855f7;
}

.cloud-image {
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cloud-image:hover {
    transform: scale(1.02);
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.card-header {
    background-color: #ffffff;
    color: #000;
}

/* --- Contact Section Styles --- */
.contact-section {
    background: linear-gradient(to right, #2563eb, #14b8a6);
    color: white;
    padding: 60px 20px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.contact-button {
    background-color: #ffffff;
    color: #2563eb;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.contact-button:hover {
    background-color: #e0f2fe;
    color: #1d4ed8;
    transform: scale(1.05);
}

/* --- Form Section Styles --- */
.form-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    border-radius: 20px;
    margin-bottom: 40px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
}

.form-label {
    font-weight: bold;
    color: #495057;
}

/* --- Button Styles --- */
.btn-primary {
    background-color: #4f46e5;
    border-color: #4f46e5;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #eef2ff;
    color: #3730a3;
    transform: scale(1.05);
}

.btn-outline-light {
    color: #4f46e5;
    border-color: #4f46e5;
}

/* --- Footer Styles --- */
footer {
    background-color: #222;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.footer-nav a {
    color: #4f46e5;
}

.footer-text-muted {
    color: rgba(96, 71, 163, 0.7);
}

/* --- Miscellaneous Styles --- */
.article-meta {
    font-style: italic;
    color: #000;
    font-size: 0.9rem;
}

.list-group-item strong {
    color: #4f46e5;
}

/* --- Success Popup Styles --- */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 100%;
    width: 200px;
}

.inter-font {
    font-family: 'Inter', sans-serif;
}


/* --- Performance and Responsiveness --- */
.img-fluid {
    height: auto;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .navbar-brand h1 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 60px 15px;
    }

    .hero-section h2 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .contact-section {
        padding: 40px 15px;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-section p {
        font-size: 1rem;
    }
    
    
}