/* Custom CSS for Web Application Development Page */

/* --- General & Variables --- */
:root {
    --primary-color: #007bff; /* RudrraServices Blue */
    --secondary-color: #6c757d; /* Muted Gray */
    --accent-color: #28a745; /* Success Green */
    --warning-color: #ffc107; /* Warning Yellow */
    --dark-blue: #0056b3; /* Darker blue for gradients */
    --light-gray-bg: #f8f9fa; /* Light background for sections */
    --text-dark: #343a40; /* Darker text for content */
    --text-muted: #6c757d; /* Standard muted text */
    --text-secondary: #495057; /* Slightly darker secondary text */
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern, readable font */
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--accent-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}


/* --- Hero Section --- */
.hero-section {
    /* Use an image relevant to web development. Replace with your own. */
    background: url('https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1920&q=80') no-repeat center center / cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Stronger shadow for readability */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 50, 0.8), rgba(0, 123, 255, 0.4)); /* Darker and primary blue overlay */
    z-index: 0;
}

.hero-section .container {
    z-index: 1; /* Ensure text is above overlay */
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-section .lead {
    font-size: 1.6rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-cta-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

    .hero-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
        background-color: #ffda6a !important; /* Slightly brighter yellow on hover */
    }

/* Hero Decorative Shapes */
.hero-shape-1, .hero-shape-2 {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.08); /* Subtle white */
    border-radius: 50%;
    z-index: 0;
}

.hero-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -50px;
    animation: floatShape 8s ease-in-out infinite alternate;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: 5%;
    right: -100px;
    animation: floatShape 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10px, 10px) scale(1.02);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}


/* --- Introduction & Why Choose RudrraServices (Integrated) --- */
.bg-light-gradient {
    background: linear-gradient(to bottom, var(--light-gray-bg), #f0f2f5); /* Subtle light gradient */
}

.feature-img {
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px !important;
    transition: transform 0.4s ease-in-out;
}

    .feature-img:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    }

.feature-list li {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}

    .feature-list li i {
        font-size: 1.2em;
        margin-top: 3px;
        color: var(--accent-color); /* Green checkmarks */
    }


/* --- Web Application Development Services Section --- */
.services-section {
    background-color: #fff;
    padding-bottom: 70px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }

    .service-card .icon-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        background-color: #e6f0ff; /* Lighter primary color for background */
        border-radius: 50%;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .service-card:hover .icon-circle {
        background-color: var(--primary-color);
    }

    .service-card .icon-circle i {
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .service-card:hover .icon-circle i {
        color: #fff;
    }

    .service-card h4 {
        font-size: 1.6rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* --- Ready-to-Deploy SaaS Products Section --- */
.bg-gradient-light-to-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue)); /* Blue gradient */
    color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden; /* For pseudo-elements */
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(0,179,134,0.1), transparent); /* Subtle accent overlay */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .product-card:hover::before {
        opacity: 1;
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

    .product-card .product-icon {
        font-size: 3.5rem;
        color: var(--primary-color);
        margin-bottom: 15px;
        transition: all 0.3s ease;
    }

    .product-card:hover .product-icon {
        transform: scale(1.1);
    }

    .product-card h4 {
        font-size: 1.5rem;
        color: var(--text-dark); /* Dark text on white card */
    }

    .product-card p {
        color: var(--text-muted); /* Muted text on white card */
        font-size: 0.9rem;
    }

.feature-list-sm {
    margin-top: 15px;
    padding-left: 0;
}

    .feature-list-sm li {
        font-size: 0.85rem;
        margin-bottom: 5px;
        color: var(--text-secondary);
        display: flex;
        align-items: flex-start;
    }

        .feature-list-sm li i {
            font-size: 1em;
            margin-top: 2px;
            margin-right: 8px;
        }


/* --- Why Partner with RudrraServices (Differentiators) --- */
.differentiate-section {
    background-color: var(--light-gray-bg);
    padding-bottom: 70px;
}

.differentiator-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

    .differentiator-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--accent-color); /* Green highlight */
    }

    .differentiator-card .icon-square {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        background-color: #e0fff2; /* Light accent green */
        border-radius: 12px; /* Slightly rounded square */
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .differentiator-card:hover .icon-square {
        background-color: var(--accent-color);
        transform: rotate(5deg); /* Slight rotation on hover */
    }

    .differentiator-card .icon-square i {
        color: var(--accent-color);
        transition: all 0.3s ease;
    }

    .differentiator-card:hover .icon-square i {
        color: #fff;
    }

    .differentiator-card h4 {
        font-size: 1.4rem;
    }

    .differentiator-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }


/* --- Final Call To Action Section --- */
.final-cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--dark-blue)); /* Strong blue gradient */
    padding: 80px 0;
}

    .final-cta-section h2 {
        font-size: 3.2rem;
        font-weight: 700;
    }

    .final-cta-section .lead {
        font-size: 1.4rem;
        max-width: 900px;
        margin: 0 auto 30px;
    }


/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }

    .hero-section .lead {
        font-size: 1.4rem;
    }

    .display-5 {
        font-size: 2.8rem;
    }

    .product-card h4, .differentiator-card h4 {
        font-size: 1.4rem;
    }

    .service-card h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 500px;
    }

        .hero-section h1 {
            font-size: 2.8rem;
        }

        .hero-section .lead {
            font-size: 1.2rem;
        }

    .hero-cta-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .display-5 {
        font-size: 2.5rem;
    }

    .col-md-6.order-md-2, .col-md-6.order-md-1 {
        order: unset !important; /* Reset order on mobile for natural flow */
    }

    .feature-img {
        margin-bottom: 30px;
    }

    .feature-img {
        max-height: 350px;
    }


    .service-card .icon-circle, .differentiator-card .icon-square {
        width: 70px;
        height: 70px;
    }

        .service-card .icon-circle i, .differentiator-card .icon-square i {
            font-size: 2.2rem !important;
        }

    .product-card .product-icon {
        font-size: 3rem;
    }

    .final-cta-section h2 {
        font-size: 2.5rem;
    }

    .final-cta-section .lead {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }

        .hero-section h1 {
            font-size: 2.2rem;
        }

        .hero-section .lead {
            font-size: 1rem;
        }

    .hero-cta-btn {
        font-size: 0.9rem;
        padding: 10px 25px;
    }

    .display-5 {
        font-size: 2.2rem;
    }

    .service-card h4, .product-card h4, .differentiator-card h4 {
        font-size: 1.3rem;
    }

    .service-card p, .product-card p, .differentiator-card p {
        font-size: 0.85rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .feature-list-sm li {
        font-size: 0.8rem;
    }

    .final-cta-section h2 {
        font-size: 2rem;
    }

    .final-cta-section .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: auto;
    }

        .hero-section h1 {
            font-size: 1.8rem;
        }

        .hero-section .lead {
            font-size: 0.9rem;
        }

    .hero-cta-btn {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

        .feature-list li i {
            font-size: 1em;
            margin-top: 0;
        }

    .service-card, .product-card, .differentiator-card {
        padding: 25px !important;
    }

        .service-card .icon-circle, .differentiator-card .icon-square {
            width: 60px;
            height: 60px;
        }

            .service-card .icon-circle i, .differentiator-card .icon-square i {
                font-size: 1.8rem !important;
            }

        .product-card .product-icon {
            font-size: 2.5rem;
        }

    .final-cta-section h2 {
        font-size: 1.8rem;
    }

    .final-cta-section .lead {
        font-size: 0.9rem;
    }
}
