/* Global Styles */
:root {
    --primary-color: #1A584F;
    --secondary-color: #E8EBE5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --yellow-gradient: linear-gradient(to right, #f9d423, #ff9b21);
    --green-gradient: linear-gradient(to right, #a8e063, #56ab2f);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    padding: 120px 0;
    position: relative;
    color: var(--text-light);
    overflow: hidden;
}

.decorative-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.decorative-circle-1 {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    opacity: 0.05;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.decorative-circle-2 {
    position: absolute;
    bottom: 80px;
    left: 40px;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    opacity: 0.05;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

.hero-content {
    margin-bottom: 30px;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    margin-bottom: 30px;
}

.award-badge i {
    margin-right: 8px;
}

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

.gradient-text-yellow {
    display: inline-block;
    background: linear-gradient(to right, #ffec99, #ffd43b, #ffa94d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    transform-origin: center;
    display: block;
    margin-bottom: 8px;
}

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

.gradient-text-green {
    display: inline-block;
    background: linear-gradient(to right, #a9e9dc, #63e6be, #38d9a9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    transform-origin: center;
    display: block;
}

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

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

.btn-custom-light {
    background-color: white;
    color: black;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.btn-custom-light:hover {
    background-color: #f8f9fa;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.arrow-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-custom-light:hover .arrow-icon {
    transform: translateX(4px);
}

.hero-image-container {
    position: relative;
}

.image-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    backdrop-filter: blur(4px);
}

.hero-image {
    width: 100%;
    height: 384px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.decorative-circle-3 {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 96px;
    height: 96px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .decorative-circle-1,
    .decorative-circle-2 {
        width: 150px;
        height: 150px;
    }
}

/* Why You Need RPA Managed Services Section */
.why-rpa-section {
    background-color: var(--secondary-color);
    padding: 120px 0;
    position: relative;
}

.section-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, #adb5bd, transparent);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-badge i {
    margin-right: 8px;
}

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

.gradient-text-primary {
    background: linear-gradient(to right, #196f5a, #13856c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-left: 0.5rem;
}

.why-rpa-content {
    padding-right: 2rem;
}

.section-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #495057;
    line-height: 1.7;
}

.why-rpa-image-container {
    position: relative;
}

.image-backdrop-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 16px;
    backdrop-filter: blur(4px);
}

.why-rpa-image {
    width: 100%;
    height: 384px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.decorative-square {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

/* Animation Effects */
.hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section {
    opacity: 0;
    transition: opacity 1s ease;
}

section.visible {
    opacity: 1;
}

.section-title, .section-text, .feature-badge, .why-rpa-image-container, .section-description, .approach-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Ensure first section is visible immediately */
.hero-section {
    opacity: 1;
}

/* Our RPA Managed Services Approach Section */
.approach-section {
    background-color: #ffffff;
    padding: 120px 0;
    position: relative;
}

.section-description {
    font-size: 1.25rem;
    color: #495057;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.approach-cards {
    margin-top: 40px;
}

.approach-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transform: translateY(0);
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.approach-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

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

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

.approach-card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    position: relative;
}

.cta-title {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.gradient-text-yellow-light {
    background: linear-gradient(to right, #ffe066, #ffd43b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-left: 0.5rem;
}

/* Comparison Table Section */
.comparison-section {
    background-color: var(--secondary-color);
    padding: 120px 0;
    position: relative;
}

.comparison-table-wrapper {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.comparison-table-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.comparison-table {
    margin-bottom: 0;
}

.comparison-table thead {
    background-color: var(--primary-color);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-color: #f0f0f0;
    vertical-align: middle;
}

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

.advantage, .disadvantage {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.advantage-icon {
    color: #2b8a3e;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.disadvantage-icon {
    color: #e03131;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Industries We Serve Section */
.industries-section {
    background-color: white;
    padding: 120px 0;
    position: relative;
}

.industries-cards {
    margin-top: 40px;
}

.industry-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.industry-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.industry-card-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
}

.industry-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 3;
    color: white;
}

.industry-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-card-title {
    color: #ffe066;
}

.industry-card-text {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Tools & Technology Section */
.tools-section {
    background-color: var(--secondary-color);
    padding: 120px 0;
    position: relative;
}

.tools-cards {
    margin-top: 40px;
}

.tools-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transform: translateY(0);
    opacity: 0;
}

.tools-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tools-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.tools-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.tools-list li {
    color: #495057;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tools-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: inline-block;
    flex-shrink: 0;
}

/* FAQs Section */
.faqs-section {
    background-color: #ffffff;
    padding: 120px 0;
    position: relative;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.faq-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

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

.faq-answer {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-answer-prefix {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--primary-color);
    padding: 120px 0;
    position: relative;
    color: var(--text-light);
    overflow: hidden;
}

.decorative-square-1 {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: rotate(12deg);
}

.decorative-circle-4 {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transform: rotate(45deg);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    margin-bottom: 30px;
    color: white;
}

.cta-badge i {
    margin-right: 8px;
}

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

.final-cta-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .final-cta-title {
        font-size: 2rem;
    }
    
    .final-cta-description {
        font-size: 1.1rem;
    }
}
