/* Custom CSS for RPA Support Website */

:root {
    --primary-color: #1A584F;
    --secondary-color: #E8EBE5;
    --text-color: #333;
    --white: #fff;
    --black: #000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    margin-right: 0.5rem;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    margin-bottom: 0.5rem;
}

.gradient-text-yellow {
    background: linear-gradient(to right, #f9d776, #f5c756, #f6ba47);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    transition: var(--transition);
}

.gradient-text-green {
    background: linear-gradient(to right, #c1e1c5, #92c7a9, #5aab8e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    transition: var(--transition);
}

.gradient-text-yellow:hover, .gradient-text-green:hover {
    transform: scale(1.05);
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-button {
    background-color: var(--white);
    color: var(--black);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.hero-button:hover i {
    transform: translateX(4px);
}

/* Decorative Elements */
.geo-decoration {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.geo-square {
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
    top: 2.5rem;
    left: 2.5rem;
}

.geo-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    bottom: 2.5rem;
    right: 2.5rem;
}

.bg-circle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.bg-circle-1 {
    width: 16rem;
    height: 16rem;
    top: 5rem;
    right: 2.5rem;
    opacity: 0.05;
}

.bg-circle-2 {
    width: 24rem;
    height: 24rem;
    bottom: 5rem;
    left: 2.5rem;
    opacity: 0.05;
}

/* Content Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-light {
    background-color: var(--secondary-color);
}

.section-white {
    background-color: var(--white);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-badge i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.25rem;
    color: #555;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

/* Cards */
.custom-card {
    background-color: var(--white);
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-text {
    color: #555;
}

/* CTA Sections */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-highlight {
    background: linear-gradient(to right, #f9d776, #f6ba47);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Table Styles */
.comparison-table {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    font-size: 1.125rem;
}

.comparison-table td {
    padding: 1.5rem;
    color: #555;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Platform Cards */
.platform-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Industry Cards */
.industry-card {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.industry-image {
    height: 8rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* FAQ Cards */
.faq-card {
    background-color: var(--white);
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-answer {
    color: #555;
}

/* Accordion Styling */
.accordion-item {
    border: none;
    background-color: transparent;
}

.accordion-button {
    background-color: var(--white);
    border-radius: 0rem !important;
    padding: 1.25rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(26, 88, 79, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231A584F'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1rem 1.25rem 1.5rem;
    background-color: var(--white);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* Final CTA Section */
.final-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
}

.final-cta-badge i {
    margin-right: 0.5rem;
    color: var(--white);
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.final-cta-text {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section, .section {
        padding: 4rem 0;
    }
    
    .geo-decoration {
        display: none;
    }
}

/* Image with fallback */
.img-with-fallback {
    position: relative;
    overflow: hidden;
}

.fallback-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    width: 100%;
    height: 100%;
}

/* Animation for gradient text */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-shimmer {
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}
