/* General Styles */
:root {
    --primary-bg: #1A1A2E; /* Deep Indigo */
    --secondary-bg: #16213E; /* Darker Blue-Purple */
    --accent-light: #E0B0FF; /* Light Lavender */
    --accent-dark: #0F3460; /* Darker Blue */
    --text-primary: #E0E0E0; /* Light Gray */
    --text-secondary: #A0A0A0; /* Medium Gray */
    --gradient-start: #E0B0FF;
    --gradient-end: #C780FF;
    --bs-card-title-color:white;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to AOS */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
}

p {
    color: var(--text-primary); /* Default paragraph color */
}

a {
    color: var(--accent-light);
    text-decoration: none;
}

a:hover {
    color: var(--gradient-end);
    text-decoration: underline;
}

.text-gradient {

}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: var(--text-primary); /* Fallback */
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.bg-secondary-dark {
    background-color: var(--secondary-bg);
}

.btn-primary {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--primary-bg); /* Dark text on light button */
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gradient-end);
    border-color: var(--gradient-end);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 176, 255, 0.3);
}

.btn-outline-primary {
    color: var(--accent-light);
    border-color: var(--accent-light);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: var(--accent-light);
    color: var(--primary-bg);
    border-color: var(--accent-light);
}

/* Hero Section */
#hero {
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.95) 100%);
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(224, 176, 255, 0.4);
}

#hero p.lead {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

/* Navbar */
.navbar {
    transition: background-color 0.4s ease-in-out;
    background-color: transparent;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(22, 33, 62, 0.95); /* Darker blue with transparency */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.navbar-brand {
    color: var(--accent-light) !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 8px;
    filter: drop-shadow(0 0 5px rgba(224, 176, 255, 0.5));
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-light) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-light);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: var(--accent-light);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E0B0FF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* About Section */
#about img {
    border: 1px solid rgba(224, 176, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Services Section */
.service-item {
    background-color: var(--primary-bg);
    border: 1px solid rgba(224, 176, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(224, 176, 255, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-light);
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(224, 176, 255, 0.3);
}

/* How it Works Section */
.process-diagram {
    margin-top: 3rem;
    position: relative;
}

.process-diagram .row {
    justify-content: space-around;
}

.process-step {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    background-color: var(--primary-bg);
    border-radius: 10px;
    border: 1px solid rgba(224, 176, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(224, 176, 255, 0.15);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--accent-light);
    box-shadow: 0 0 15px rgba(224, 176, 255, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
}

.process-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--gradient-end));
    z-index: 0;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* Specific line animation for JS */
.process-line.active {
    animation: drawLine 2s forwards;
}

@keyframes drawLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 0.5;
    }
}

/* Pricing Section */
.pricing-toggle .btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    margin: 0 5px;
}

.pricing-cards-container {
    position: relative;
    min-height: 500px; /* Ensure enough height for transition */
}

.pricing-tier {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.pricing-tier.active-tier {
    opacity: 1;
    visibility: visible;
    position: relative; /* Take up space when active */
}

.pricing-card {
    background-color: var(--primary-bg);
    border: 1px solid rgba(224, 176, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(224, 176, 255, 0.15);
}

.pricing-card .card-header {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid rgba(224, 176, 255, 0.1);
    padding: 1.5rem;
}

.pricing-card .card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}
 .card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}
.pricing-card .card-body {
    padding: 2rem;
}

.pricing-card ul {
    margin-bottom: 2rem !important;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-card ul li i {
    color: var(--accent-light);
}

.featured-card {
    border: 2px solid var(--accent-light);
    box-shadow: 0 0 25px rgba(224, 176, 255, 0.3);
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 176, 255, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(224, 176, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 176, 255, 0); }
}

/* Team Section */
.team-member-card {
    background-color: var(--secondary-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(224, 176, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(224, 176, 255, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--accent-light);
    box-shadow: 0 0 15px rgba(224, 176, 255, 0.4);
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--primary-bg);
    border: 1px solid rgba(224, 176, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(224, 176, 255, 0.15);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--accent-light);
}

/* Statistics Section */
.statistic-item {
    background-color: var(--secondary-bg);
    border: 1px solid rgba(224, 176, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statistic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(224, 176, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(224, 176, 255, 0.3);
}

.statistic-item h3 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.accordion-item {
    background-color: var(--primary-bg);
    border: 1px solid rgba(224, 176, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--secondary-bg) !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 8px !important;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-dark) !important; /* Slightly darker when open */
    color: var(--accent-light) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-light);
}

.accordion-button::after {
    filter: invert(1) brightness(1.5); /* Make caret visible on dark background */
}

.accordion-body {
    background-color: var(--primary-bg);
    color: var(--text-secondary);
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(224, 176, 255, 0.1);
}

/* Footer Section */
#main-footer {
    background-color: var(--secondary-bg);
    color: var(--text-secondary);
}

.footer-cta-bar {
    background: linear-gradient(90deg, var(--accent-dark), var(--primary-bg));
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-light) !important;
    display: flex;
    align-items: center;
}

.footer-brand img {
    filter: drop-shadow(0 0 5px rgba(224, 176, 255, 0.5));
    margin-right: 8px;
}

#main-footer h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

#main-footer ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

#main-footer ul li a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 176, 255, 0.05);
}

.language-selector .form-select {
    background-color: var(--primary-bg) !important;
    border-color: rgba(224, 176, 255, 0.1) !important;
    color: var(--text-secondary) !important;
}

.language-selector .form-select option {
    background-color: var(--primary-bg); /* For dropdown options */
    color: var(--text-primary);
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--secondary-bg);
        margin-top: 1rem;
        border-radius: 8px;
        padding: 1rem;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .process-diagram .row {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 300px;
    }
    .process-line {
        display: none; /* Hide horizontal line on small screens */
    }
}

@media (max-width: 767.98px) {
    #hero h1 {
        font-size: 2rem;
    }
    #hero p.lead {
        font-size: 1rem;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 2.8rem;
    }
    .pricing-toggle .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .footer-cta-bar h3 {
        font-size: 1.8rem;
    }
    .footer-cta-bar p {
        font-size: 1rem;
    }
}/* New styles for .rightsCloudWrap and its direct descendants */
.rightsCloudWrap {
    /* Padding for the main content wrapper */
    padding-top: 4rem; /* Top padding for the section */
    padding-bottom: 4rem; /* Bottom padding for the section */
    padding-inline: 1.5rem; /* Horizontal padding for the section */
    max-width: 1200px; /* Maximum width for content */
    margin-left: auto; /* Center the wrapper horizontally */
    margin-right: auto; /* Center the wrapper horizontally */
}

.rightsCloudWrap h1 {
    /* Heading 1 styles - moderate size */
    font-size: 2.4rem; /* Font size for H1 */
    line-height: 1.2; /* Line height for H1 */
    margin-top: 2rem; /* Top margin for H1 */
    margin-bottom: 1rem; /* Bottom margin for H1 */
    font-weight: 700; /* Bold font weight */
    color: var(--text-primary); /* Inherit primary text color */
}

.rightsCloudWrap h2 {
    /* Heading 2 styles - moderate size */
    font-size: 2rem; /* Font size for H2 */
    line-height: 1.25; /* Line height for H2 */
    margin-top: 1.8rem; /* Top margin for H2 */
    margin-bottom: 0.9rem; /* Bottom margin for H2 */
    font-weight: 600; /* Semi-bold font weight */
    color: var(--text-primary); /* Inherit primary text color */
}

.rightsCloudWrap h3 {
    /* Heading 3 styles - moderate size */
    font-size: 1.6rem; /* Font size for H3 */
    line-height: 1.3; /* Line height for H3 */
    margin-top: 1.5rem; /* Top margin for H3 */
    margin-bottom: 0.8rem; /* Bottom margin for H3 */
    font-weight: 600; /* Semi-bold font weight */
    color: var(--text-primary); /* Inherit primary text color */
}

.rightsCloudWrap h4 {
    /* Heading 4 styles - moderate size */
    font-size: 1.3rem; /* Font size for H4 */
    line-height: 1.4; /* Line height for H4 */
    margin-top: 1.2rem; /* Top margin for H4 */
    margin-bottom: 0.7rem; /* Bottom margin for H4 */
    font-weight: 500; /* Medium font weight */
    color: var(--text-primary); /* Inherit primary text color */
}

.rightsCloudWrap h5 {
    /* Heading 5 styles - moderate size */
    font-size: 1.1rem; /* Font size for H5 */
    line-height: 1.5; /* Line height for H5 */
    margin-top: 1rem; /* Top margin for H5 */
    margin-bottom: 0.6rem; /* Bottom margin for H5 */
    font-weight: 500; /* Medium font weight */
    color: var(--text-primary); /* Inherit primary text color */
}

.rightsCloudWrap p {
    /* Paragraph styles */
    font-size: 1.1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Enhanced line height for readability */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
    color: var(--text-secondary); /* Use secondary text color for paragraphs */
}

.rightsCloudWrap ul {
    /* Unordered list styles */
    list-style: disc; /* Default disc style for bullet points */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1.5rem; /* Bottom margin for list spacing */
    color: var(--text-secondary); /* Inherit secondary text color */
}

.rightsCloudWrap ol {
    /* Ordered list styles */
    list-style: decimal; /* Default decimal style for numbered lists */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1.5rem; /* Bottom margin for list spacing */
    color: var(--text-secondary); /* Inherit secondary text color */
}

.rightsCloudWrap li {
    /* List item styles */
    margin-bottom: 0.5rem; /* Spacing between individual list items */
    line-height: 1.6; /* Line height for list items */
    color: var(--text-secondary); /* Inherit secondary text color */
}
