:root {
    --primary-color: #5a16b7;
    --primary-light: #9061db;
    --primary-dark: #4a0f9c;
    --secondary-color: #4cd964;
    --secondary-hover: #3bc153;
    --light-bg: #f8f9fa;
    --dark-text: #333;
}

body {
    font-family: 'Avenir', sans-serif;
    color: var(--dark-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

h1, h2, h3, .classical-text {
    font-family: 'Avenir', sans-serif;
}

.navbar {
    background-color: var(--primary-color) !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Avenir', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s;
}

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

.btn-login {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
}

.btn-login:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-section {
    background: linear-gradient(135deg, #7c42d4 0%, #5a16b7 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-get-started {
    background-color: white;
    color: var(--primary-color);
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-card {
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    background: white;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.feature-icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(90, 22, 183, 0.1); /* Lighter shade of primary color */
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem; /* Increase icon size */
    color: var(--primary-color); /* Use primary purple color */
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background-color: rgba(90, 22, 183, 0.15);
}

/* Keep the existing SVG rules */
.feature-icon svg {
    fill: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.feature-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

/* Logo glow effect */
.logo-glow {
    position: relative;
    transition: all 0.3s ease;
}

.logo-glow img {
    filter: drop-shadow(0 0 2px rgba(90, 22, 183, 0.3));
    transition: all 0.3s ease;
}

/* Static glow effect */
.logo-glow::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 22, 183, 0.4) 0%, rgba(90, 22, 183, 0) 70%);
    z-index: -1;
    opacity: 0.7;
}

/* Pulsing animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 22, 183, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(90, 22, 183, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(90, 22, 183, 0);
    }
}

.logo-glow {
    animation: pulse-glow 2s infinite;
}

/* Hover effect enhancement */
.logo-glow:hover img {
    filter: drop-shadow(0 0 4px rgba(90, 22, 183, 0.6));
    transform: scale(1.05);
}

.logo-glow:hover::after {
    opacity: 1;
    background: radial-gradient(circle, rgba(90, 22, 183, 0.6) 0%, rgba(90, 22, 183, 0) 70%);
}


/********************************************************** About page styles ******************************************************************************/
.about-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-hero-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.section-title {
    font-family: 'Avenir', sans-serif;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
    right: 0;
}

.section-title.text-center {
    display: block;
    text-align: center;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-intro {
    font-family: 'Avenir', sans-serif;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
}

.section-title.text-intro:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 40px;
    right: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #666;
}

.about-image-container {
    position: relative;
    text-align: center;
}

.animated-image {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-color);
}

.value-icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f5f0ff;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    fill: var(--primary-color);
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.about-image-offset {
    position: relative;
    z-index: 1;
}

.about-image-offset:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    top: 20px;
    left: -20px;
    z-index: -1;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 40px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(90, 22, 183, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -39px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(90, 22, 183, 0.2);
}

.timeline-content h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.about-cta {
    background: linear-gradient(135deg, #7c42d4 0%, #5a16b7 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.about-cta h2 {
    font-weight: 700;
}

.about-cta .btn-get-started {
    background-color: white;
    color: var(--primary-color);
}

.about-cta .btn-get-started:hover {
    background-color: var(--secondary-color);
    color: white;
}


/**************************************************************** Pricing Page Styles **********************************************************************************/
/* Hero Section */
.pricing-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.pricing-title {
    font-family: 'Avenir', sans-serif;
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Plans Section */
.pricing-plans {
    background-color: #f5f7fa;
    padding: 50px 0 70px;
}

/* Pricing Cards */
.price-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    min-height: 550px;
    display: flex;
    flex-direction: column;
}

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

/* Popular Plan Styling */
.price-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.03);
}

.price-card.popular:hover {
    transform: translateY(-10px) scale(1.03);
}

.popular-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    z-index: 1;
}

.popular-ribbon span {
    position: absolute;
    display: block;
    width: 170px;
    padding: 5px 0;
    background-color: var(--secondary-color);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    right: -40px;
    top: 30px;
    transform: rotate(45deg);
}

/* Card Header */
.price-header {
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plan-name {
    font-family: 'Avenir', sans-serif;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Price Display */
.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    margin-right: 5px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 0.9rem;
    color: #999;
    margin-left: 5px;
}

/* Features Section */
.price-features {
    padding: 25px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.feature-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: relative;
}

.check-icon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 14px;
    border-right: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    transform: rotate(45deg);
    left: 6px;
    top: 1px;
}

/* Button Section */
.price-footer {
    padding: 20px 25px 30px;
    text-align: center;
    margin-top: auto;
}

.btn-trial {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-purple {
    background-color: var(--primary-color);
    color: white;
}

.btn-purple:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(90, 22, 183, 0.3);
}

.btn-green {
    background-color: var(--secondary-color);
    color: white;
}

.btn-green:hover {
    background-color: var(--secondary-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 217, 100, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 70px 0;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.faq-question {
    font-family: 'Avenir', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/************************************************************* Contact Page Styles *************************************************************************************/
.contact-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.contact-section {
    background-color: #f8f9fa;
    padding: 70px 0;
}

.contact-info-card, .contact-form-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover, .contact-form-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f5f0ff;
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-info h5 {
    font-family: 'Avenir', sans-serif;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 0;
    color: #666;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.section-title-Contact {
    position: relative;
    margin-bottom: 60px;
    padding-bottom: 15px;
}

.section-title-Contact:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 7%;
    transform: translateX(-50%);
}

.social-media-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f0ff;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(90, 22, 183, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/*************************************************************************************** Login Page Styles ************************************************************/
.login-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
}

/* Login Popup/Overlay Styles */
.login-overlay {
    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: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-popup {
    background-color: white;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.login-overlay.active .login-popup {
    transform: translateY(0);
}

.login-popup-content {
    padding: 30px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    padding: 5px;
    transition: color 0.3s;
}

.close-button:hover {
    color: var(--primary-color);
}

/* Common Login Form Styles */
.login-header {
    margin-bottom: 25px;
}

.login-header h2 {
    font-family: 'Avenir', sans-serif;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.login-footer a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.login-footer a:hover {
    color: var(--primary-dark);
}

/* Login Error Message Styles */
.login-popup .alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.login-popup .alert-danger svg {
    color: #721c24;
    flex-shrink: 0;
}

.login-popup .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.login-popup .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.login-popup .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}

.login-form .alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.login-form .alert-danger svg {
    color: #721c24;
    flex-shrink: 0;
}

.login-form .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.login-form .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.login-form .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}

/* Prevent body scrolling when popup is open */
body.no-scroll {
    overflow: hidden;
}